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 ; }