diff --git a/components/Shell.tsx b/components/Shell.tsx index 57db5acc..59cb8cf3 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -32,11 +32,9 @@ export default function Shell(props) { if (!loading && !session) { router.replace("/auth/login"); - } else if (loading) { - return
Loading...
; } - return ( + return session ? (