diff --git a/client/src/App.tsx b/client/src/App.tsx index 404e378..d316d83 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -563,6 +563,14 @@ function App() { } if (isAdminRoute) { + if (!isAuthenticated) { + return ( +
+ +
+ ) + } + return (