This commit is contained in:
yyh 2025-12-26 17:35:53 +08:00
parent c01b96fa35
commit 4363df899b
No known key found for this signature in database
1 changed files with 0 additions and 10 deletions

View File

@ -1,7 +1,6 @@
import type {
CollectionsAndPluginsSearchParams,
MarketplaceCollection,
PluginsSearchParams,
} from '@/app/components/plugins/marketplace/types'
import type { Plugin } from '@/app/components/plugins/types'
import { PluginCategoryEnum } from '@/app/components/plugins/types'
@ -152,12 +151,3 @@ export const getMarketplaceListFilterType = (category: string) => {
return 'plugin'
}
// Deprecated: Use useMarketplaceFilters hook from hooks/use-query-params.ts instead
// This function is kept for backward compatibility but should not be used in new code
/** @deprecated Use the useMarketplaceFilters hook from hooks/use-query-params.ts instead */
export const updateSearchParams = (pluginsSearchParams: PluginsSearchParams) => {
console.warn('updateSearchParams is deprecated. Use the useMarketplaceFilters hook from hooks/use-query-params.ts instead.')
// This is now handled by the useMarketplaceFilters hook
// Keeping the function for any legacy code that hasn't been migrated yet
}