Skip to content

Commit

Permalink
Fix chain id
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Jun 3, 2024
1 parent b61cd4b commit 535c73f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nextjs/components/scaffold-eth/Balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const Balance = ({ address, className = "", usdMode }: BalanceProps) => {
isLoading,
} = useWatchBalance({
address,
chainId: targetNetwork.id,
});

const [displayUsdMode, setDisplayUsdMode] = useState(price > 0 ? Boolean(usdMode) : false);
Expand Down

0 comments on commit 535c73f

Please sign in to comment.