mirror of https://github.com/langgenius/dify.git
fix(1.0): explore market page empty (#13017)
This commit is contained in:
parent
ef1f429437
commit
f93bf131ab
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue