diff options
Diffstat (limited to 'frontend/src/components/store/Store.tsx')
| -rw-r--r-- | frontend/src/components/store/Store.tsx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/frontend/src/components/store/Store.tsx b/frontend/src/components/store/Store.tsx index cb6f34ad..2ffd8efb 100644 --- a/frontend/src/components/store/Store.tsx +++ b/frontend/src/components/store/Store.tsx @@ -2,14 +2,13 @@ import { SteamSpinner } from 'decky-frontend-lib'; import { FC, useEffect, useState } from 'react'; import Logger from '../../logger'; -import { LegacyStorePlugin, StorePlugin, getLegacyPluginList, getPluginList } from '../../store'; +import { StorePlugin, getPluginList } from '../../store'; import PluginCard from './PluginCard'; const logger = new Logger('FilePicker'); const StorePage: FC<{}> = () => { const [data, setData] = useState<StorePlugin[] | null>(null); - const [legacyData, setLegacyData] = useState<LegacyStorePlugin[] | null>(null); useEffect(() => { (async () => { @@ -17,11 +16,6 @@ const StorePage: FC<{}> = () => { logger.log('got data!', res); setData(res); })(); - (async () => { - const res = await getLegacyPluginList(); - logger.log('got legacy data!', res); - setLegacyData(res); - })(); }, []); return ( @@ -49,11 +43,6 @@ const StorePage: FC<{}> = () => { {data.map((plugin: StorePlugin) => ( <PluginCard plugin={plugin} /> ))} - {!legacyData ? ( - <SteamSpinner /> - ) : ( - legacyData.map((plugin: LegacyStorePlugin) => <PluginCard plugin={plugin} />) - )} </div> )} </div> |
