diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-09-14 19:58:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 19:58:52 +0200 |
commit | 95df3522a15631abc51a4295cae0ea401a8d4e1e (patch) | |
tree | e5eb0f368c947683f01458e912f21756fb0d99cb /src/stores/index.ts | |
parent | docs: add sad270 as a contributor for bug, userTesting [skip ci] (#1941) (diff) | |
download | ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.gz ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.zst ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.zip |
feat: add eslint-plugin-unicorn (#1936)
Diffstat (limited to 'src/stores/index.ts')
-rw-r--r-- | src/stores/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/index.ts b/src/stores/index.ts index 4cd4e92ea..1760ddfa2 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts | |||
@@ -34,10 +34,10 @@ export default (api, actions, router) => { | |||
34 | }); | 34 | }); |
35 | 35 | ||
36 | // Initialize all stores | 36 | // Initialize all stores |
37 | Object.keys(stores).forEach(name => { | 37 | for (const name of Object.keys(stores)) { |
38 | if (stores[name] && stores[name].initialize) { | 38 | if (stores[name] && stores[name].initialize) { |
39 | stores[name].initialize(); | 39 | stores[name].initialize(); |
40 | } | 40 | } |
41 | }); | 41 | } |
42 | return stores; | 42 | return stores; |
43 | }; | 43 | }; |