ignore: cloud

This commit is contained in:
Dax Raad
2025-08-28 14:09:34 -04:00
parent a928a35c96
commit 02e014b0a0
2 changed files with 4 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ export const getActor = query(async (): Promise<Actor.Info> => {
},
}
}
if (Object.keys(auth.data.account).length > 0) {
if (Object.keys(auth.data.account ?? {}).length > 0) {
const current = Object.values(auth.data.account)[0]
await auth.update(val => ({
...val,
@@ -96,10 +96,9 @@ export interface AuthSession {
}
export function useAuthSession() {
return useSession<AuthSession>({
password: "0".repeat(32),
name: "auth"
name: "auth",
})
}