From 73666b0556bddb9d2a548fd49c307f15e2d68572 Mon Sep 17 00:00:00 2001 From: Alejandra <90076947+alejsdev@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:57:53 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20unused=20exports=20and?= =?UTF-8?q?=20update=20dependencies=20(#1146)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package-lock.json | 38 +----------------------- frontend/package.json | 3 +- frontend/src/routes/_layout.tsx | 2 -- frontend/src/routes/_layout/admin.tsx | 2 -- frontend/src/routes/_layout/index.tsx | 2 -- frontend/src/routes/_layout/items.tsx | 2 -- frontend/src/routes/_layout/settings.tsx | 2 -- frontend/src/routes/login.tsx | 2 -- frontend/src/routes/recover-password.tsx | 2 -- frontend/src/routes/reset-password.tsx | 2 -- 10 files changed, 2 insertions(+), 55 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 1a59e7c..0983abe 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -20,8 +20,7 @@ "react-dom": "^18.2.0", "react-hook-form": "7.49.3", "react-icons": "5.0.1", - "react-query": "3.39.3", - "zustand": "4.5.0" + "react-query": "3.39.3" }, "devDependencies": { "@biomejs/biome": "1.6.1", @@ -4023,33 +4022,6 @@ "funding": { "url": "https://github.com/sponsors/colinhacks" } - }, - "node_modules/zustand": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.0.tgz", - "integrity": "sha512-zlVFqS5TQ21nwijjhJlx4f9iGrXSL0o/+Dpy4txAP22miJ8Ti6c1Ol1RLNN98BMib83lmDH/2KmLwaNXpjrO1A==", - "dependencies": { - "use-sync-external-store": "1.2.0" - }, - "engines": { - "node": ">=12.7.0" - }, - "peerDependencies": { - "@types/react": ">=16.8", - "immer": ">=9.0.6", - "react": ">=16.8" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "immer": { - "optional": true - }, - "react": { - "optional": true - } - } } }, "dependencies": { @@ -6761,14 +6733,6 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", "dev": true - }, - "zustand": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.0.tgz", - "integrity": "sha512-zlVFqS5TQ21nwijjhJlx4f9iGrXSL0o/+Dpy4txAP22miJ8Ti6c1Ol1RLNN98BMib83lmDH/2KmLwaNXpjrO1A==", - "requires": { - "use-sync-external-store": "1.2.0" - } } } } diff --git a/frontend/package.json b/frontend/package.json index a1ac410..2c41cb3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,8 +23,7 @@ "react-dom": "^18.2.0", "react-hook-form": "7.49.3", "react-icons": "5.0.1", - "react-query": "3.39.3", - "zustand": "4.5.0" + "react-query": "3.39.3" }, "devDependencies": { "@biomejs/biome": "1.6.1", diff --git a/frontend/src/routes/_layout.tsx b/frontend/src/routes/_layout.tsx index 816822e..9a6cfa3 100644 --- a/frontend/src/routes/_layout.tsx +++ b/frontend/src/routes/_layout.tsx @@ -33,5 +33,3 @@ function Layout() { ) } - -export default Layout diff --git a/frontend/src/routes/_layout/admin.tsx b/frontend/src/routes/_layout/admin.tsx index eaf7040..f593c56 100644 --- a/frontend/src/routes/_layout/admin.tsx +++ b/frontend/src/routes/_layout/admin.tsx @@ -113,5 +113,3 @@ function Admin() { ) } - -export default Admin diff --git a/frontend/src/routes/_layout/index.tsx b/frontend/src/routes/_layout/index.tsx index 56644f0..2c99597 100644 --- a/frontend/src/routes/_layout/index.tsx +++ b/frontend/src/routes/_layout/index.tsx @@ -26,5 +26,3 @@ function Dashboard() { ) } - -export default Dashboard diff --git a/frontend/src/routes/_layout/items.tsx b/frontend/src/routes/_layout/items.tsx index 1f2f113..88f8cd3 100644 --- a/frontend/src/routes/_layout/items.tsx +++ b/frontend/src/routes/_layout/items.tsx @@ -87,5 +87,3 @@ function Items() { ) } - -export default Items diff --git a/frontend/src/routes/_layout/settings.tsx b/frontend/src/routes/_layout/settings.tsx index 67eee8f..7e830b0 100644 --- a/frontend/src/routes/_layout/settings.tsx +++ b/frontend/src/routes/_layout/settings.tsx @@ -56,5 +56,3 @@ function UserSettings() { ) } - -export default UserSettings diff --git a/frontend/src/routes/login.tsx b/frontend/src/routes/login.tsx index f8df55d..c181444 100644 --- a/frontend/src/routes/login.tsx +++ b/frontend/src/routes/login.tsx @@ -124,5 +124,3 @@ function Login() { ) } - -export default Login diff --git a/frontend/src/routes/recover-password.tsx b/frontend/src/routes/recover-password.tsx index 3b39c8e..7be649c 100644 --- a/frontend/src/routes/recover-password.tsx +++ b/frontend/src/routes/recover-password.tsx @@ -86,5 +86,3 @@ function RecoverPassword() { ) } - -export default RecoverPassword diff --git a/frontend/src/routes/reset-password.tsx b/frontend/src/routes/reset-password.tsx index 58a8c65..2a92b66 100644 --- a/frontend/src/routes/reset-password.tsx +++ b/frontend/src/routes/reset-password.tsx @@ -120,5 +120,3 @@ function ResetPassword() { ) } - -export default ResetPassword