diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index fd194469..846c4766 100644 --- a/frontend/src/store.tsx +++ b/frontend/src/store.tsx @@ -44,7 +44,7 @@ export async function getPluginList(): Promise { if (store === null) { console.log('Could not get store, using Default.'); await setSetting('store', Store.Default); - store = Store.Default + store = Store.Default; } switch (+store) { case Store.Default: @@ -60,13 +60,13 @@ export async function getPluginList(): Promise { console.error('Somehow you ended up without a standard URL, using the default URL.'); storeURL = 'https://plugins.deckbrew.xyz/plugins'; break; + } return fetch(storeURL, { method: 'GET', headers: { 'X-Decky-Version': version.current, }, }).then((r) => r.json()); - } } export async function installFromURL(url: string) {