aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/index.ts')
-rw-r--r--src/stores/index.ts4
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};