diff --git a/web/flat-web/src/pages/LoginPage/index.tsx b/web/flat-web/src/pages/LoginPage/index.tsx index 2f0abae83f9..89b885f4e17 100644 --- a/web/flat-web/src/pages/LoginPage/index.tsx +++ b/web/flat-web/src/pages/LoginPage/index.tsx @@ -72,7 +72,7 @@ export const LoginPage = observer(function LoginPage() { console.warn(error); }); } - }); + }, [globalStore, setLoginResult, sp, urlParams.utm_source]); useEffect(() => { const fromAgora = urlParams.utm_source === "agora";