fix import error in marketplace (#22759)

This commit is contained in:
KVOJJJin 2025-07-22 10:58:08 +08:00 committed by GitHub
parent 2d8eace34b
commit c2c69ffb82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ import PluginTypeSwitch from './plugin-type-switch'
import ListWrapper from './list/list-wrapper'
import type { SearchParams } from './types'
import { getMarketplaceCollectionsAndPlugins } from './utils'
import { TanstackQueryIniter } from '@/context/query-client'
import { TanstackQueryInitializer } from '@/context/query-client'
type MarketplaceProps = {
locale: string
@ -39,7 +39,7 @@ const Marketplace = async ({
}
return (
<TanstackQueryIniter>
<TanstackQueryInitializer>
<MarketplaceContextProvider
searchParams={searchParams}
shouldExclude={shouldExclude}
@ -65,7 +65,7 @@ const Marketplace = async ({
showInstallButton={showInstallButton}
/>
</MarketplaceContextProvider>
</TanstackQueryIniter>
</TanstackQueryInitializer>
)
}