fix bad type on store.tsx

This commit is contained in:
marios8543
2023-10-17 16:46:53 +03:00
parent a2312256b3
commit ffbc79d919
+1 -1
View File
@@ -38,7 +38,7 @@ export async function getStore(): Promise<Store> {
export async function getPluginList(): Promise<StorePlugin[]> { export async function getPluginList(): Promise<StorePlugin[]> {
let version = await window.DeckyPluginLoader.updateVersion(); let version = await window.DeckyPluginLoader.updateVersion();
let store = await getSetting<Store>('store', null); let store = await getSetting<Store | null>('store', null);
let customURL = await getSetting<string>('store-url', 'https://plugins.deckbrew.xyz/plugins'); let customURL = await getSetting<string>('store-url', 'https://plugins.deckbrew.xyz/plugins');
let storeURL; let storeURL;
if (store === null) { if (store === null) {