diff options
| author | marios8543 <marios8543@gmail.com> | 2023-10-18 14:45:36 +0300 |
|---|---|---|
| committer | marios8543 <marios8543@gmail.com> | 2023-10-18 14:45:36 +0300 |
| commit | d9ba637cd9c44bc7c7ec4e8381f4f05fae8e4244 (patch) | |
| tree | d691d9a330742e09c0af1c3af12a43f95e7ac4b8 /frontend/src | |
| parent | dcee5ca4e4d13b860ccfe0f14b15f6badb340739 (diff) | |
| download | decky-loader-d9ba637cd9c44bc7c7ec4e8381f4f05fae8e4244.tar.gz decky-loader-d9ba637cd9c44bc7c7ec4e8381f4f05fae8e4244.zip | |
Add message emit mechanism
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/store.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
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<StorePlugin[]> { 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<StorePlugin[]> { 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: |
