mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-29 02:40:14 +02:00
fix: error on logout from /account page
This commit is contained in:
parent
575ae6b35c
commit
5dc2fe9d30
|
@ -12,6 +12,10 @@ export default function Account() {
|
|||
////Var
|
||||
const { status, data } = useSession();
|
||||
|
||||
//Function
|
||||
if (status == 'unauthenticated' || status == 'loading') {
|
||||
return <p>Loading...</p>;
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
|
|
Loading…
Reference in a new issue