From e6162ab18f7f6a7a6851049be43bba056ce83598 Mon Sep 17 00:00:00 2001 From: Tomas Familia Date: Thu, 3 Aug 2023 12:34:36 -0400 Subject: [PATCH] added searchParams to dependency array --- src/pages/login/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index ddb612d9..94d85b2f 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -47,7 +47,7 @@ export default function Login() { // Couldn't create login flow // handle the error }); - }, []); + }, [searchParams]); const submit = (event: React.FormEvent) => { event.preventDefault();