Skip to content

Commit

Permalink
Fix useMemo dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Feb 19, 2024
1 parent 87c83c1 commit 7c9af03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-common/components/walletContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Props = {
export const WalletContext = function ({ children, networks, locale }: Props) {
const { chains, publicClient } = useMemo(
() => configureChains(networks, [publicProvider()]),
networks,
[networks],
)

const connectors = connectorsForWallets([
Expand Down

0 comments on commit 7c9af03

Please sign in to comment.