diff --git a/web/app/components/plugins/marketplace/utils.ts b/web/app/components/plugins/marketplace/utils.ts index e7dcbf3542..e51c9b76a6 100644 --- a/web/app/components/plugins/marketplace/utils.ts +++ b/web/app/components/plugins/marketplace/utils.ts @@ -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 -}