From 654f36e25d2b5e6b26213f42a26f0df402b840dd Mon Sep 17 00:00:00 2001 From: tienifr Date: Tue, 9 Apr 2024 12:31:16 +0700 Subject: [PATCH] fix add initialURL to deps --- src/pages/LogOutPreviousUserPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/LogOutPreviousUserPage.tsx b/src/pages/LogOutPreviousUserPage.tsx index 43e2874d38ed..c80b26bbb9e7 100644 --- a/src/pages/LogOutPreviousUserPage.tsx +++ b/src/pages/LogOutPreviousUserPage.tsx @@ -84,7 +84,7 @@ function LogOutPreviousUserPage({session, route, isAccountLoading}: LogOutPrevio }); } // eslint-disable-next-line react-hooks/exhaustive-deps - }, [isAccountLoading]); + }, [initialURL, isAccountLoading]); return ; }