Skip to content

Commit

Permalink
[#7]refactor: change balance symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
damla committed Apr 24, 2022
1 parent b6f4ad3 commit 98690f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useEthBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const useEthBalance = () => {
const formattedBalance = useMemo(() => {
if (!Web3Api || !ethAddress || !eth) return null;

return tokenValueTxt(balance, eth.decimals, eth.symbol);
return tokenValueTxt(balance, eth.decimals, 'ETH');
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [balance, eth]);

Expand Down

0 comments on commit 98690f5

Please sign in to comment.