1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 19:53:59 +00:00

fixup new deserializer

This commit is contained in:
Matt Gibson
2025-07-10 09:27:18 -07:00
parent 274c37d960
commit e0345d3bac

View File

@@ -30,7 +30,7 @@ interface StateSetting {
}
const BADGE_STATES = new KeyDefinition(BADGE_MEMORY, "badgeStates", {
deserializer: (value: Record<string, StateSetting>) => value ?? {},
deserializer: (value: Record<string, StateSetting> | null) => value ?? {},
});
export class BadgeService {