@ -239,9 +239,11 @@ export const MarketplaceContextProvider = ({
activePluginTypeRef.current = type
setPage(1)
pageRef.current = 1
}, [])
useEffect(() => {
handleQuery()
}, [handleQuery])
}, [activePluginType, handleQuery])
const handleSortChange = useCallback((sort: PluginsSort) => {
setSort(sort)