| import ListWrapper from './list/list-wrapper' | import ListWrapper from './list/list-wrapper' | ||||
| import type { SearchParams } from './types' | import type { SearchParams } from './types' | ||||
| import { getMarketplaceCollectionsAndPlugins } from './utils' | import { getMarketplaceCollectionsAndPlugins } from './utils' | ||||
| import { TanstackQueryIniter } from '@/context/query-client' | |||||
| import { TanstackQueryInitializer } from '@/context/query-client' | |||||
| type MarketplaceProps = { | type MarketplaceProps = { | ||||
| locale: string | locale: string | ||||
| } | } | ||||
| return ( | return ( | ||||
| <TanstackQueryIniter> | |||||
| <TanstackQueryInitializer> | |||||
| <MarketplaceContextProvider | <MarketplaceContextProvider | ||||
| searchParams={searchParams} | searchParams={searchParams} | ||||
| shouldExclude={shouldExclude} | shouldExclude={shouldExclude} | ||||
| showInstallButton={showInstallButton} | showInstallButton={showInstallButton} | ||||
| /> | /> | ||||
| </MarketplaceContextProvider> | </MarketplaceContextProvider> | ||||
| </TanstackQueryIniter> | |||||
| </TanstackQueryInitializer> | |||||
| ) | ) | ||||
| } | } | ||||