mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
prettier all the things
This commit is contained in:
committed by
Thomas Ruoff
parent
c35d3009c6
commit
36f8719531
@@ -1,11 +1,10 @@
|
||||
import { useSession, signOut } from 'next-auth/react'
|
||||
|
||||
|
||||
export default function User() {
|
||||
const { data, status } = useSession();
|
||||
const { data, status } = useSession()
|
||||
|
||||
if (status === 'loading' || !data?.user?.email) {
|
||||
return null;
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user