diff --git a/frontend/keep-benefits/src/App.js b/frontend/keep-benefits/src/App.js index 69dabc2..4343464 100644 --- a/frontend/keep-benefits/src/App.js +++ b/frontend/keep-benefits/src/App.js @@ -1,4 +1,3 @@ -import { formatEther } from '@ethersproject/units'; import { ethers } from 'ethers'; import React from 'react'; import { useWeb3React } from '@web3-react/core'; @@ -150,7 +149,7 @@ function Balance () { return (
- Current Account Balance: {balance === null ? 'Error' : balance ? `Ξ${formatEther(balance)}` : ''} + Current Account Balance: {balance === null ? 'Error' : balance ? `Ξ${ethers.formatEther(balance)}` : ''}