From f47a12da0272fd72478b5c94523c653f2f8c7da4 Mon Sep 17 00:00:00 2001 From: Anukul Pandey Date: Fri, 27 Sep 2024 21:46:35 +0530 Subject: [PATCH] fix: too many requests --- src/hooks/usePoolLists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/usePoolLists.ts b/src/hooks/usePoolLists.ts index c66962a..1764f39 100644 --- a/src/hooks/usePoolLists.ts +++ b/src/hooks/usePoolLists.ts @@ -158,7 +158,7 @@ export const usePoolsList = ({ const _fetchedTokenIconsMap = await tokenIconUtils.resolveTokenUrl(tokenAddresses); setTokenIconsMap(_fetchedTokenIconsMap) } - },[tokenAddresses]) + },[tokenIconsMap]) const processed = useMemo((): PoolItem[] => { if (!dataPoolsList) return [];