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> {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue