From 3780bfe049379dc5185164599e844d194d06229c Mon Sep 17 00:00:00 2001 From: SevicheCC <91365763+Sevichecc@users.noreply.github.com> Date: Thu, 8 Jun 2023 10:59:49 +0800 Subject: [PATCH] fix: missing deps in useCallback --- hooks/useCreateApp.ts | 2 +- pnpm-lock.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hooks/useCreateApp.ts b/hooks/useCreateApp.ts index 895a36b..846eafb 100644 --- a/hooks/useCreateApp.ts +++ b/hooks/useCreateApp.ts @@ -44,7 +44,7 @@ const useCreateApp = () => { throw new Error(mError.error); } }, - [] + [toast] ); return { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aaccbec..29e163d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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