'use client' import { useMarketplaceContext } from '../context' import { useMixedTranslation } from '../hooks' import SearchBox from './index' import cn from '@/utils/classnames' type SearchBoxWrapperProps = { locale?: string } const SearchBoxWrapper = ({ locale, }: SearchBoxWrapperProps) => { const { t } = useMixedTranslation(locale) const intersected = useMarketplaceContext(v => v.intersected) const searchPluginText = useMarketplaceContext(v => v.searchPluginText) const handleSearchPluginTextChange = useMarketplaceContext(v => v.handleSearchPluginTextChange) const filterPluginTags = useMarketplaceContext(v => v.filterPluginTags) const handleFilterPluginTagsChange = useMarketplaceContext(v => v.handleFilterPluginTagsChange) return ( ) } export default SearchBoxWrapper