Skip to content

Commit

Permalink
chore(core): update local storage key for v4
Browse files Browse the repository at this point in the history
Update local storage key to prevent conflicts between v3 and v4 persisted state.
This ensures users upgrading from v3 to v4 will start with fresh state rather
than potentially incompatible stored data.
  • Loading branch information
drichar committed Jan 22, 2025
1 parent 6d6494e commit 72e0c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/use-wallet/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const DEFAULT_STATE: State = {

export type PersistedState = Omit<State, 'algodClient' | 'managerStatus' | 'networkConfig'>

export const LOCAL_STORAGE_KEY = '@txnlab/use-wallet:v3'
export const LOCAL_STORAGE_KEY = '@txnlab/use-wallet:v4'

// State mutations

Expand Down

0 comments on commit 72e0c23

Please sign in to comment.