Remove unused variable
This commit is contained in:
parent
b9d7226668
commit
a94fdcb89e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue