Skip to content

Commit

Permalink
feat(store): update store name to prevent conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLenglet committed Jun 4, 2024
1 parent 0c0c774 commit 5f1662c
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 5f1662c

Please sign in to comment.