diff options
author | 2023-12-22 15:12:16 -0700 | |
---|---|---|
committer | 2023-12-22 15:12:16 -0700 | |
commit | 85927dc191a935761b3f175bcd50e7c3076acc9e (patch) | |
tree | ceeb350621d824eeb9fdc9137a64a2e820b269b9 /src/stores/SettingsStore.ts | |
parent | Reset nightly version to 6.7.1-nightly.0 (diff) | |
download | ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.tar.gz ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.tar.zst ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.zip |
refactor: remove unused code with knip (#1492)
- remove unused code snippets flagged by `npx knip`
Diffstat (limited to 'src/stores/SettingsStore.ts')
-rw-r--r-- | src/stores/SettingsStore.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/stores/SettingsStore.ts b/src/stores/SettingsStore.ts index 90cd82690..2e8568134 100644 --- a/src/stores/SettingsStore.ts +++ b/src/stores/SettingsStore.ts | |||
@@ -11,17 +11,11 @@ import { | |||
11 | LOCAL_SERVER, | 11 | LOCAL_SERVER, |
12 | } from '../config'; | 12 | } from '../config'; |
13 | import { hash } from '../helpers/password-helpers'; | 13 | import { hash } from '../helpers/password-helpers'; |
14 | import Request from './lib/Request'; | ||
15 | import TypedStore from './lib/TypedStore'; | 14 | import TypedStore from './lib/TypedStore'; |
16 | 15 | ||
17 | const debug = require('../preload-safe-debug')('Ferdium:SettingsStore'); | 16 | const debug = require('../preload-safe-debug')('Ferdium:SettingsStore'); |
18 | 17 | ||
19 | export default class SettingsStore extends TypedStore { | 18 | export default class SettingsStore extends TypedStore { |
20 | @observable updateAppSettingsRequest = new Request( | ||
21 | this.api.local, | ||
22 | 'updateAppSettings', | ||
23 | ); | ||
24 | |||
25 | @observable loaded: boolean = false; | 19 | @observable loaded: boolean = false; |
26 | 20 | ||
27 | fileSystemSettingsTypes = FILE_SYSTEM_SETTINGS_TYPES; | 21 | fileSystemSettingsTypes = FILE_SYSTEM_SETTINGS_TYPES; |