From 99ca310c73024b51fed1f3077375eed7827f2c20 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 28 May 2023 13:48:21 +0530 Subject: Fix issues reported by sonarqube linter --- src/stores/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stores/index.ts') diff --git a/src/stores/index.ts b/src/stores/index.ts index 8836f2892..f9927d9a3 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -57,7 +57,7 @@ export default ( // Initialize all stores for (const name of Object.keys(stores)) { - if (stores[name] && stores[name].initialize) { + if (stores[name]?.initialize) { stores[name].initialize(); } } -- cgit v1.2.3-70-g09d2