fix(web): add missing v7 key to legacy localStorage cleanup list (#594)

When the persisted state key was bumped from v7 to v8 in 689dda59,
the v7 key was not added to LEGACY_PERSISTED_STATE_KEYS. Users who
ran the app during the ~3-week v7 window retain a stale
`t3code:renderer-state:v7` entry in localStorage that is never
cleaned up.
This commit is contained in:
0x1f99d authored and GitHub committed 2026-03-08 20:39:41 -07:00
1 parent cd1c3df89c
commit 412331aa61
1 file changed
+1
+1
View File
@@ -25,6 +25,7 @@ export interface AppState {
const PERSISTED_STATE_KEY = "t3code:renderer-state:v8";
const LEGACY_PERSISTED_STATE_KEYS = [
"t3code:renderer-state:v7",
"t3code:renderer-state:v6",
"t3code:renderer-state:v5",
"t3code:renderer-state:v4",