Remove unused variable

This commit is contained in:
William Brawner 2024-04-29 21:17:26 -06:00
parent b9d7226668
commit a94fdcb89e

View file

@ -53,7 +53,7 @@ let timerService: TimerService;
export async function timerServiceSingleton(): Promise<TimerService> { export async function timerServiceSingleton(): Promise<TimerService> {
if (!timerService) { if (!timerService) {
const db = await idb.openDB(dbName, dbVersion, { const db = await idb.openDB(dbName, dbVersion, {
upgrade(db, _oldVersion, newVersion, _transaction) { upgrade(db, _oldVersion, newVersion) {
if (newVersion === 1) { if (newVersion === 1) {
db.createObjectStore( db.createObjectStore(
storeName, storeName,
@ -68,4 +68,4 @@ export async function timerServiceSingleton(): Promise<TimerService> {
timerService = new IDBTimerService(db); timerService = new IDBTimerService(db);
} }
return timerService; return timerService;
} }