mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
fix: remove unnecessary dependency from fetchMarketServers to improve performance (#56)
This commit is contained in:
@@ -52,7 +52,7 @@ export const useMarketData = () => {
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
}, [t, currentPage]);
|
||||
}, [t]);
|
||||
|
||||
// Apply pagination to data
|
||||
const applyPagination = useCallback((data: MarketServer[], page: number, itemsPerPage = serversPerPage) => {
|
||||
|
||||
Reference in New Issue
Block a user