summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreXhumer <62310242+eXhumer@users.noreply.github.com>2024-12-13 20:32:50 -0700
committerGitHub <noreply@github.com>2024-12-13 22:32:50 -0500
commit25036b065fbd4b50fc14478ed73c55d7db4ddfb4 (patch)
tree8805319c23f47f218962cd5408ae3e2ae72cb1ed
parent6bf21bf2ad1ab160aeb904f8cfb1dd60941a2885 (diff)
downloaddecky-loader-25036b065fbd4b50fc14478ed73c55d7db4ddfb4.tar.gz
decky-loader-25036b065fbd4b50fc14478ed73c55d7db4ddfb4.zip
chore: remove dead / double code (#726)
* noticed by @KP2048 in https://discord.com/channels/960281551428522045/960284311444131840/1317031315551420447 Signed-off-by: eXhumer <exhumer@exhumer.cc>
-rw-r--r--frontend/src/store.tsx21
1 files changed, 0 insertions, 21 deletions
diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx
index 5391a15a..dfd9b04b 100644
--- a/frontend/src/store.tsx
+++ b/frontend/src/store.tsx
@@ -82,27 +82,6 @@ export async function getPluginList(
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());
- }
- switch (+store) {
- case Store.Default:
- storeURL = 'https://plugins.deckbrew.xyz/plugins';
- break;
- case Store.Testing:
- storeURL = 'https://testing.deckbrew.xyz/plugins';
- break;
- case Store.Custom:
- storeURL = customURL;
- break;
- default:
- console.error('Somehow you ended up without a standard URL, using the default URL.');
- storeURL = 'https://plugins.deckbrew.xyz/plugins';
- break;
}
return fetch(storeURL + query, {
method: 'GET',