fixed null setting if remove active account

This commit is contained in:
Quan HL
2024-09-17 06:42:55 +07:00
parent aae9fc4033
commit 9d606185bf

View File

@@ -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;
}