AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): Monitor Page got all the request doubled on each page refresh (#8727)
Zamil Majdy5fa5b7104a88
diff --git a/autogpt_platform/frontend/src/components/SupabaseProvider.tsx b/autogpt_platform/frontend/src/components/SupabaseProvider.tsxindex d852a54064..6e0fd52ba1 100644--- a/autogpt_platform/frontend/src/components/SupabaseProvider.tsx+++ b/autogpt_platform/frontend/src/components/SupabaseProvider.tsx@@ -37,7 +37,9 @@ export default function SupabaseProvider({if (event === "SIGNED_IN") {api.createUser();}- router.refresh();+ if (event === "SIGNED_OUT") {+ router.refresh();+ }});return () => {