replaced email with username
This commit is contained in:
@@ -39,6 +39,7 @@ export default function AuthRedirect({ children }: Props) {
|
||||
}
|
||||
}, [status]);
|
||||
|
||||
if (status !== "loading" && !redirect) return <>{children}</>;
|
||||
else return <></>;
|
||||
return <>{children}</>;
|
||||
// if (status !== "loading" && !redirect) return <>{children}</>;
|
||||
// else return <></>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user