diff options
Diffstat (limited to 'FrontEnd/src/app/App.tsx')
-rw-r--r-- | FrontEnd/src/app/App.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/FrontEnd/src/app/App.tsx b/FrontEnd/src/app/App.tsx index a28b99ae..a4363ff5 100644 --- a/FrontEnd/src/app/App.tsx +++ b/FrontEnd/src/app/App.tsx @@ -13,7 +13,7 @@ import TimelinePage from "./views/timeline"; import Search from "./views/search"; import AlertHost from "./views/common/alert/AlertHost"; -import { userService, useRawUser } from "./services/user"; +import { useRawUser } from "./services/user"; const NoMatch: React.FC = () => { return <div>Ah-oh, 404!</div>; @@ -26,10 +26,6 @@ const LazyAdmin = React.lazy( function App(): ReactElement | null { const user = useRawUser(); - React.useEffect(() => { - void userService.checkLoginState(); - }, []); - if (user === undefined) { return <LoadingPage />; } else { |