From d9ba637cd9c44bc7c7ec4e8381f4f05fae8e4244 Mon Sep 17 00:00:00 2001
From: marios8543 <marios8543@gmail.com>
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/src/store.tsx')

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:
-- 
cgit v1.2.3

