mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
[CodeFactor] Apply fixes to commit c3cb293
This commit is contained in:
@@ -56,7 +56,7 @@ export async function loadBackground() {
|
||||
backgroundContainer.remove();
|
||||
}
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
const background = await getDataById(selectedBackgroundId);
|
||||
if (!background) return;
|
||||
@@ -77,7 +77,7 @@ export async function loadBackground() {
|
||||
mediaContainer = document.createElement('div');
|
||||
mediaContainer.id = 'media-container';
|
||||
backgroundContainer.appendChild(mediaContainer);
|
||||
};
|
||||
}
|
||||
|
||||
mediaContainer = document.getElementById('media-container');
|
||||
if (!mediaContainer) return;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { openDB, type IDBPDatabase, type DBSchema } from 'idb';
|
||||
import { type DBSchema, type IDBPDatabase, openDB } from 'idb';
|
||||
|
||||
interface BackgroundDB extends DBSchema {
|
||||
backgrounds: {
|
||||
|
||||
Reference in New Issue
Block a user