fix(1.0): explore market page empty (#13017)

This commit is contained in:
非法操作 2025-01-24 18:43:56 +08:00 committed by GitHub
parent ef1f429437
commit f93bf131ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)