sigillabs / mobidex

Mobile trustless trading through Uniswap
https://mobidex.io
GNU Affero General Public License v3.0
75 stars 36 forks source link

converted warning message numbers from wei to ether #240

Closed sanidhayarora closed 5 years ago

sanidhayarora commented 5 years ago

1) created InsufficientFundsError.js in ErrorModal 2) aquired the numbers as string from the error message using regex 3) converted Wei to ether using web3.utils.fromWei