From b139825b477552d742e6164af65d85f9ce3f1977 Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Wed, 9 Oct 2024 13:09:17 +0200 Subject: [PATCH] - re-added redirect to home page after login; --- src/pages/Login/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Login/index.js b/src/pages/Login/index.js index 046b6df..70dd67b 100644 --- a/src/pages/Login/index.js +++ b/src/pages/Login/index.js @@ -58,7 +58,7 @@ const Login = () => { useEffect(() => { if (!isEmpty(token)) { - //window.location.replace('/') + window.location.replace('/') } }, [token]);