aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2024-04-15 07:16:37 -0600
committerLibravatar GitHub <noreply@github.com>2024-04-15 07:16:37 -0600
commitcbba61b40112b41c43285a1a279969e68df1a2e9 (patch)
tree6f2e95326033396c5f7b79b48e5a3febb0877ff3 /src/stores
parent6.7.3-nightly.10 [skip ci] (diff)
downloadferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.tar.gz
ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.tar.zst
ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.zip
refactor: project maintenance (#1682)
- remove redundant `@adonisjs/auth`, `@adonisjs/session` and `@emotion/react` dependencies - remove `.vscode` folder - clean up some TS and ESLint issues - migrate from deprecated "husky install" to "husky"
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/SettingsStore.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stores/SettingsStore.ts b/src/stores/SettingsStore.ts
index 72d6331cb..29f173f91 100644
--- a/src/stores/SettingsStore.ts
+++ b/src/stores/SettingsStore.ts
@@ -183,8 +183,10 @@ export default class SettingsStore extends TypedStore {
183 } 183 }
184 } 184 }
185 185
186 // eslint-disable-next-line @typescript-eslint/ban-types 186 _ensureMigrationAndMarkDone(
187 _ensureMigrationAndMarkDone(migrationName: string, callback: Function): void { 187 migrationName: string,
188 callback: () => void,
189 ): void {
188 if (!this.all.migration[migrationName]) { 190 if (!this.all.migration[migrationName]) {
189 callback(); 191 callback();
190 192