Skip to content

Commit

Permalink
chore: remove dead / double code (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
eXhumer authored Dec 14, 2024
1 parent 6bf21bf commit 25036b0
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions frontend/src/store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,6 @@ export async function getPluginList(
await setSetting('store', Store.Default);
store = Store.Default;
}
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, {
method: 'GET',
headers: {
'X-Decky-Version': version.current,
},
}).then((r) => r.json());
}
switch (+store) {
case Store.Default:
storeURL = 'https://plugins.deckbrew.xyz/plugins';
Expand Down

0 comments on commit 25036b0

Please sign in to comment.