| author | |
| committer | |
| log | 412331aa61a9a38d61f17755d67ed0f8212920d2 |
| tree | a9fdc446bd206642de97cb038046a23625ddf15c |
| parent | cd1c3df89cfa681622292f7f2a9777f81f8e2f10 |
| signature | Signed by PGP key B5690EEEBB952194 |
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.1 files changed, 1 insertions(+), 0 deletions(-)
apps/web/src/store.ts+1| ... | ... | @@ -25,6 +25,7 @@ export interface AppState { |
| 25 | 25 | |
| 26 | 26 | const PERSISTED_STATE_KEY = "t3code:renderer-state:v8"; |
| 27 | 27 | const LEGACY_PERSISTED_STATE_KEYS = [ |
| 28 | "t3code:renderer-state:v7", | |
| 28 | 29 | "t3code:renderer-state:v6", |
| 29 | 30 | "t3code:renderer-state:v5", |
| 30 | 31 | "t3code:renderer-state:v4", |