Skip to content

Commit

Permalink
webapp/dashboard: fix display
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Nov 29, 2023
1 parent 4abbb62 commit 3761bf3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions webapp/src/pages/Server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,10 @@ const ServerPage: React.FC = () => {
fetchData();
}, []);

if (!connected) {
return <NotConnected />;
}

if (isLoading || isConnecting) {
return <CustomLoader />;
}

if (!authContext?.isAuthorized) {
return <NotAuthorized />;
}

if (!authContext?.isSignedIn) {
return <NotSigned component="Server" />;
}

return (
<>
<motion.div
Expand Down

0 comments on commit 3761bf3

Please sign in to comment.