diff --git a/web/app/components/app/store.ts b/web/app/components/app/store.ts index c0626dd80f..2712fd80f2 100644 --- a/web/app/components/app/store.ts +++ b/web/app/components/app/store.ts @@ -65,17 +65,12 @@ export const appStoreSelectors = { appDetails, } -const get = useAppStore.getState const set = useAppStore.setState async function fetchAppDetail(appID: string | undefined) { if (!appID) return null - const cur = get().appDetails?.[appID] - if (cur) - return cur - const appDetail = await serviceGet(`/apps/${appID}`) set(state => ({ appDetails: {