Skip to content

Commit

Permalink
fix: missing dependensy in react hook
Browse files Browse the repository at this point in the history
  • Loading branch information
eubash committed Mar 12, 2024
1 parent 8a5427e commit fc0fe6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/tokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function TokensProvider({ children = undefined }) {
})
}
return []
}, [chainId])
}, [neonChain])
const { library, account } = useWeb3React()
const prevAccountState = usePrevious()
const [list, setTokenList] = useState(initialTokenListState)
Expand Down

0 comments on commit fc0fe6a

Please sign in to comment.