Further improve on handling disabled `localStorage`
Based on the work done in commit
a73c5490b160435a0ef5408b54185c9f698cb73f there are a few places that
make the app not load in case dom storage aka localStorage is disabled.
2 files changed
+2
-2
2270e618
→
14f3c6f6
modified src/lib/appearance.ts
@@ -7,7 +7,7 @@ type Theme = z.infer<typeof themeSchema>;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/lib/localStore.ts
@@ -92,7 +92,7 @@ export default function storedWritable<
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|