diff --git a/src/components/map/ClaimDrawer.tsx b/src/components/map/ClaimDrawer.tsx index 0baefec0..0b7263b3 100644 --- a/src/components/map/ClaimDrawer.tsx +++ b/src/components/map/ClaimDrawer.tsx @@ -76,7 +76,10 @@ export function ClaimDrawer(props: ClaimDrawerProps) { )} diff --git a/src/hooks/useUser.ts b/src/hooks/useUser.ts index 08f08fc5..34f95d10 100644 --- a/src/hooks/useUser.ts +++ b/src/hooks/useUser.ts @@ -9,6 +9,7 @@ export const useUser = () => { const user = { user: data, token: session.data?.accessToken, + isLoggedIn: session.status === 'authenticated', isLoading: session.status === 'loading' && isLoading, refresh: () => mutate('/account'), hasPermission: (p: string, buildteam?: string) => {