Skip to content

Commit

Permalink
used new match localstorage key to prevent migration issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gurumaxi committed May 22, 2024
1 parent 23c9bc2 commit cda9108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/stores/match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { derived, get } from 'svelte/store';
function createMatchStore() {
const getNewMatch = () => ({ id: new Date().getTime(), games: [] });

const { subscribe, set, update } = persistentWritable<Match>('match', getNewMatch());
const { subscribe, set, update } = persistentWritable<Match>('match_new', getNewMatch());

return {
subscribe,
Expand Down

0 comments on commit cda9108

Please sign in to comment.