Inflow-Music-Co / inflow-music-react

Inflow Music react front-end
inflow-music-react.vercel.app
MIT License
2 stars 0 forks source link

Fix UI bug 'Insufficient Tokens to Sell' #7

Closed 0xmovses closed 3 years ago

0xmovses commented 3 years ago

In Artist.js, this SweetAlert pops up only sometimes when the case is not true.

derivativedegen commented 3 years ago

i cannot reproduce this, but after refactoring app to implement SweetAlert two i've double checked the logic for this alert and it should only pop up when the user's tokenBalance[0] < TokensToBurn