Skip to content

Commit

Permalink
Merge pull request #5 from LesFabricants/new-db-name
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLenglet authored Jun 4, 2024
2 parents 0c0c774 + 5f1662c commit 2560213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class Store<T = any> {
this.select$ = this.state.asObservable();
this.select = toSignal(this.state);
if (options?.cache) {
const request = globalThis.indexedDB.open("store", 1);
const request = globalThis.indexedDB.open("__FLUXIE_STORE", 1);
request.onerror = () => {
console.error(`IndexedDB error: ${request.error}`);
};
Expand Down

0 comments on commit 2560213

Please sign in to comment.