diff options
| author | Fuwn <[email protected]> | 2025-06-11 23:52:43 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-11 23:52:43 -0700 |
| commit | 1bc4488a06db88597327ecc855c5b70a7ddc55ce (patch) | |
| tree | ded544d953d4b62fc4365c2758d75f02efe7d625 /src/stores/identity.ts | |
| parent | fix: Migrate localStorage.removeItem to localforage for anime and manga stores (diff) | |
| download | due.moe-1bc4488a06db88597327ecc855c5b70a7ddc55ce.tar.xz due.moe-1bc4488a06db88597327ecc855c5b70a7ddc55ce.zip | |
style: Reformat using latest formatting
Diffstat (limited to 'src/stores/identity.ts')
| -rw-r--r-- | src/stores/identity.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/identity.ts b/src/stores/identity.ts index 1b0aee90..2618d744 100644 --- a/src/stores/identity.ts +++ b/src/stores/identity.ts @@ -12,7 +12,7 @@ const createStore = () => { const { subscribe, set, update } = writable<UserIdentity>( JSON.parse( browser - ? localStorage.getItem('identity') ?? JSON.stringify(defaultIdentity) + ? (localStorage.getItem('identity') ?? JSON.stringify(defaultIdentity)) : JSON.stringify(defaultIdentity) ) ); |