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> {
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> {
timerService = new IDBTimerService(db);
}
return timerService;
}
}