Skip to content

Commit bc5343b

Browse files
committed
wip
1 parent 243786a commit bc5343b

File tree

1 file changed

+2
-2
lines changed
  • packages/signals/signals/src/core/buffer

1 file changed

+2
-2
lines changed

packages/signals/signals/src/core/buffer/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export class SignalStore implements SignalPersistentStorage {
5353
db: IDBPDatabase<SignalDatabase>,
5454
maxItems: number
5555
) {
56-
const transaction = db.transaction('signals', 'readwrite')
57-
const store = transaction.objectStore('signals')
56+
const transaction = db.transaction(SignalStore.STORE_NAME, 'readwrite')
57+
const store = transaction.objectStore(SignalStore.STORE_NAME)
5858
const count = await store.count()
5959
if (count >= maxItems) {
6060
const cursor = await store.openCursor()

0 commit comments

Comments
 (0)