Skip to content

Commit

Permalink
fix(store): do not initialize in the upgrade event
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLenglet committed Jun 4, 2024
1 parent 04a634b commit 8a9b42d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export class Store<T = any> {
if (e.newVersion === 1) {
this.db.createObjectStore("cachedData");
}
this.initializeFromIndexedDB();
};
}
if (isDevtoolEnabled) {
Expand Down

0 comments on commit 8a9b42d

Please sign in to comment.