From fc0fe6aae4a8aa5f28f35c37c5b41036c1024f3f Mon Sep 17 00:00:00 2001 From: eubash Date: Tue, 12 Mar 2024 16:09:35 +0100 Subject: [PATCH] fix: missing dependensy in react hook --- src/contexts/tokens.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contexts/tokens.tsx b/src/contexts/tokens.tsx index b532513..57c8d75 100644 --- a/src/contexts/tokens.tsx +++ b/src/contexts/tokens.tsx @@ -43,7 +43,7 @@ export function TokensProvider({ children = undefined }) { }) } return [] - }, [chainId]) + }, [neonChain]) const { library, account } = useWeb3React() const prevAccountState = usePrevious() const [list, setTokenList] = useState(initialTokenListState)