diff --git a/src/client/components/TokenLoginContainer.tsx b/src/client/components/TokenLoginContainer.tsx index 0a91d9c..0dd2187 100644 --- a/src/client/components/TokenLoginContainer.tsx +++ b/src/client/components/TokenLoginContainer.tsx @@ -10,7 +10,7 @@ export const TokenLoginContainer: React.FC = useEffect(() => { const token = getJWT(); if (token) { - loginWithToken().then(() => { + loginWithToken().finally(() => { setLoading(false); }); } else {