Skip to content

Commit

Permalink
chore: sync metadata version
Browse files Browse the repository at this point in the history
  • Loading branch information
kangju2000 committed Sep 29, 2024
1 parent 69cfd2c commit e327a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/useStorageStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const initialStorageData: StorageData = {
}

const mergeData = (initial: StorageData, stored: Partial<StorageData>): StorageData => ({
meta: { ...initial.meta, ...stored.meta },
meta: { ...initial.meta, ...stored.meta, version: packageJson.version },
contents: { ...initial.contents, ...stored.contents },
filterOptions: { ...initial.filterOptions, ...stored.filterOptions },
settings: { ...initial.settings, ...stored.settings },
Expand Down

0 comments on commit e327a48

Please sign in to comment.