From dc4133a705500f145b4a433cbdfc1d068e184810 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Mon, 20 Sep 2021 15:21:11 +0200 Subject: [PATCH] redirect unauth to login --- src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 4a9a671..27ef7e2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -36,12 +36,12 @@ const App: React.FC = () => { {/* Public only routes */} { !isAuth && [ - + { setIsAuth(true) }} /> , - + ] }