aboutsummaryrefslogtreecommitdiffstats
path: root/packages/main/src/stores/ServiceSettings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/main/src/stores/ServiceSettings.ts')
-rw-r--r--packages/main/src/stores/ServiceSettings.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/packages/main/src/stores/ServiceSettings.ts b/packages/main/src/stores/ServiceSettings.ts
index e6f48c6..d5c2843 100644
--- a/packages/main/src/stores/ServiceSettings.ts
+++ b/packages/main/src/stores/ServiceSettings.ts
@@ -18,16 +18,12 @@
18 * SPDX-License-Identifier: AGPL-3.0-only 18 * SPDX-License-Identifier: AGPL-3.0-only
19 */ 19 */
20 20
21import { ServiceSettings as ServiceSettingsBase } from '@sophie/shared'; 21import { defineServiceSettingsModel } from '@sophie/shared';
22import { Instance, types } from 'mobx-state-tree'; 22import { Instance } from 'mobx-state-tree';
23 23
24import overrideProps from '../utils/overrideProps'; 24import Profile from './Profile.js';
25 25
26import Profile from './Profile'; 26const ServiceSettings = defineServiceSettingsModel(Profile);
27
28const ServiceSettings = overrideProps(ServiceSettingsBase, {
29 profile: types.reference(Profile),
30});
31 27
32/* 28/*
33 eslint-disable-next-line @typescript-eslint/no-redeclare -- 29 eslint-disable-next-line @typescript-eslint/no-redeclare --