We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c3cfa commit f01dabbCopy full SHA for f01dabb
web/src/lib/stores/preferences.store.ts
@@ -11,7 +11,7 @@ export interface ThemeSetting {
11
// Locale to use for formatting dates, numbers, etc.
12
export const locale = persisted<string | undefined>('locale', 'default', {
13
serializer: {
14
- parse: (text) => text,
+ parse: (text) => text || 'default',
15
stringify: (object) => object ?? '',
16
},
17
});
0 commit comments