aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/GlobalSettings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/GlobalSettings.ts')
-rw-r--r--packages/shared/src/stores/GlobalSettings.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/shared/src/stores/GlobalSettings.ts b/packages/shared/src/stores/GlobalSettings.ts
index 3a813b8..1c6d7f3 100644
--- a/packages/shared/src/stores/GlobalSettings.ts
+++ b/packages/shared/src/stores/GlobalSettings.ts
@@ -22,9 +22,13 @@ import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree';
22 22
23import { ThemeSource } from '../schemas'; 23import { ThemeSource } from '../schemas';
24 24
25const GlobalSettings = types.model('GlobalSettings', { 25const GlobalSettings = /* @__PURE__ */ (() =>
26 themeSource: types.optional(types.enumeration(ThemeSource.options), 'system'), 26 types.model('GlobalSettings', {
27}); 27 themeSource: types.optional(
28 types.enumeration(ThemeSource.options),
29 'system',
30 ),
31 }))();
28 32
29/* 33/*
30 eslint-disable-next-line @typescript-eslint/no-redeclare -- 34 eslint-disable-next-line @typescript-eslint/no-redeclare --