This commit is contained in:
Manav Rathi
2024-06-02 16:57:13 +05:30
parent d924ee636d
commit c9c582cbcc

View File

@@ -80,7 +80,7 @@ const saveFlagJSONString = (s: string) =>
const remoteFeatureFlags = () => {
const s = localStorage.getItem("remoteFeatureFlags");
if (!s) return undefined;
return FeatureFlags.parse(s);
return FeatureFlags.parse(JSON.parse(s));
};
const FeatureFlags = z.object({