Skip to content

Commit

Permalink
set id of mock migration
Browse files Browse the repository at this point in the history
  • Loading branch information
LlemonDuck committed Dec 3, 2024
1 parent 18a96e3 commit 54474dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ class GlobalState implements State {

const newId = LEAGUES_FIVE_MOCK_ID_MAPPINGS[eq.id];
if (newId) {
eq.id = newId;
console.info('mock id migration', {
ix,
slot,
Expand Down
2 changes: 1 addition & 1 deletion src/types/State.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export interface Calculator {
* or any of its subproperties, are updated in a non-backwards-compatible manner,
* or also in any manner that could affect the migrations required on load.
*/
export const IMPORT_VERSION = 4 as const;
export const IMPORT_VERSION = 5 as const;

/**
* This is the state that can be exported and imported (through shortlinks).
Expand Down

0 comments on commit 54474dc

Please sign in to comment.