From a94fdcb89e790fe7c710b0a50e51c1855e3296c9 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Mon, 29 Apr 2024 21:17:26 -0600 Subject: [PATCH] Remove unused variable --- src/script/timer-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/timer-service.ts b/src/script/timer-service.ts index 7c73778..effce5d 100644 --- a/src/script/timer-service.ts +++ b/src/script/timer-service.ts @@ -53,7 +53,7 @@ let timerService: TimerService; export async function timerServiceSingleton(): Promise { if (!timerService) { const db = await idb.openDB(dbName, dbVersion, { - upgrade(db, _oldVersion, newVersion, _transaction) { + upgrade(db, _oldVersion, newVersion) { if (newVersion === 1) { db.createObjectStore( storeName, @@ -68,4 +68,4 @@ export async function timerServiceSingleton(): Promise { timerService = new IDBTimerService(db); } return timerService; -} \ No newline at end of file +}