aboutsummaryrefslogtreecommitdiff
path: root/src/stores/identity.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-26 13:09:08 -0800
committerFuwn <[email protected]>2024-01-26 13:09:08 -0800
commit59ab70311588dfcdd316344e2fd4947e6b4d66d8 (patch)
tree9767cdd616cbd63f43cbbe3dee8848f7140925ef /src/stores/identity.ts
parentfix: authentication loop for identity (diff)
downloaddue.moe-59ab70311588dfcdd316344e2fd4947e6b4d66d8.tar.xz
due.moe-59ab70311588dfcdd316344e2fd4947e6b4d66d8.zip
refactor(layout): use default identity settings on reset
Diffstat (limited to 'src/stores/identity.ts')
-rw-r--r--src/stores/identity.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/identity.ts b/src/stores/identity.ts
index 5229c4cd..37f8084d 100644
--- a/src/stores/identity.ts
+++ b/src/stores/identity.ts
@@ -2,7 +2,7 @@ import { browser } from '$app/environment';
import type { UserIdentity } from '$lib/AniList/identity';
import { writable } from 'svelte/store';
-const defaultIdentity: UserIdentity = {
+export const defaultIdentity: UserIdentity = {
name: '',
id: -2,
avatar: 'https://s4.anilist.co/file/anilistcdn/user/avatar/large/default.png'