fix: missing deps in useCallback

main
SevicheCC 2023-06-08 10:59:49 +08:00
parent de40f560d8
commit 3780bfe049
Signed by: SevicheCC
GPG Key ID: C577000000000000
2 changed files with 7 additions and 7 deletions

View File

@ -44,7 +44,7 @@ const useCreateApp = () => {
throw new Error(mError.error);
}
},
[]
[toast]
);
return {

View File

@ -936,8 +936,8 @@ packages:
'@babel/runtime': 7.22.3
dev: false
/@rushstack/eslint-patch@1.3.0:
resolution: {integrity: sha512-IthPJsJR85GhOkp3Hvp8zFOPK5ynKn6STyHa/WZpioK7E1aYDiBzpqQPrngc14DszIUkIrdd3k9Iu0XSzlP/1w==}
/@rushstack/eslint-patch@1.3.1:
resolution: {integrity: sha512-RkmuBcqiNioeeBKbgzMlOdreUkJfYaSjwgx9XDgGGpjvWgyaxWvDmZVSN9CS6LjEASadhgPv2BcFp+SeouWXXA==}
dev: false
/@swc/helpers@0.5.1:
@ -1253,7 +1253,7 @@ packages:
hasBin: true
dependencies:
caniuse-lite: 1.0.30001495
electron-to-chromium: 1.4.423
electron-to-chromium: 1.4.425
node-releases: 2.0.12
update-browserslist-db: 1.0.11(browserslist@4.21.7)
dev: false
@ -1525,8 +1525,8 @@ packages:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
dev: true
/electron-to-chromium@1.4.423:
resolution: {integrity: sha512-y4A7YfQcDGPAeSWM1IuoWzXpg9RY1nwHzHSwRtCSQFp9FgAVDgdWlFf0RbdWfLWQ2WUI+bddUgk5RgTjqRE6FQ==}
/electron-to-chromium@1.4.425:
resolution: {integrity: sha512-wv1NufHxu11zfDbY4fglYQApMswleE9FL/DSeyOyauVXDZ+Kco96JK/tPfBUaDqfRarYp2WH2hJ/5UnVywp9Jg==}
dev: false
/emoji-regex@8.0.0:
@ -1641,7 +1641,7 @@ packages:
optional: true
dependencies:
'@next/eslint-plugin-next': 13.4.4
'@rushstack/eslint-patch': 1.3.0
'@rushstack/eslint-patch': 1.3.1
'@typescript-eslint/parser': 5.59.9(eslint@8.41.0)(typescript@5.0.4)
eslint: 8.41.0
eslint-import-resolver-node: 0.3.7