From 9d606185bf87d2516fedf129ebe8119e70c4db27 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Tue, 17 Sep 2024 06:42:55 +0700 Subject: [PATCH] fixed null setting if remove active account --- src/storage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/index.ts b/src/storage/index.ts index 71f7bdf..70d0ca8 100644 --- a/src/storage/index.ts +++ b/src/storage/index.ts @@ -132,7 +132,7 @@ export const getActiveSettings = (): IAppSettings => { decoded: JSON.parse( Buffer.from(activeSettings.encoded, "base64").toString("utf-8") ), - id: activeSettings?.id, + id: activeSettings.id, }; return decoded as IAppSettings; }