From 7074a5f0a17fa528173d91761e9e368f25857e0c Mon Sep 17 00:00:00 2001 From: knoxfighter Date: Fri, 15 Jan 2021 04:34:04 +0100 Subject: [PATCH] "fixed" error on logout --- ui/App/App.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/App/App.jsx b/ui/App/App.jsx index 73fc0c2..9c1f0b0 100644 --- a/ui/App/App.jsx +++ b/ui/App/App.jsx @@ -45,7 +45,6 @@ const App = () => { const loggedOut = await user.logout(); if (loggedOut) { setIsAuthenticated(false); - history.push('/login'); } }, []);