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
|
activePluginTypeRef.current = type
|
||||||
setPage(1)
|
setPage(1)
|
||||||
pageRef.current = 1
|
pageRef.current = 1
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
handleQuery()
|
handleQuery()
|
||||||
}, [handleQuery])
|
}, [activePluginType, handleQuery])
|
||||||
|
|
||||||
const handleSortChange = useCallback((sort: PluginsSort) => {
|
const handleSortChange = useCallback((sort: PluginsSort) => {
|
||||||
setSort(sort)
|
setSort(sort)
|
||||||
|
Loading…
Reference in New Issue
Block a user