From 268311c4821e2df93c99a257a6992e50d49fc788 Mon Sep 17 00:00:00 2001 From: marios8543 Date: Wed, 18 Oct 2023 14:45:36 +0300 Subject: Add message emit mechanism --- frontend/src/store.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'frontend') diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index 9fc8006f..bc419430 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,12 +60,12 @@ 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()); + return fetch(storeURL, { + method: 'GET', + headers: { + 'X-Decky-Version': version.current, + }, + }).then((r) => r.json()); } switch (+store) { case Store.Default: -- cgit v1.2.3