sygmaprotocol / sygma-widget

Transfer widget for the sygmaprotocol
5 stars 2 forks source link

More than 4 decimals are displayed to the transfer amount #203

Closed LyonSsS closed 4 weeks ago

LyonSsS commented 1 month ago

Context: When a user inputs a transfer amount ( usually 4 digits), the transfer amount displayed in UI ( after fee calculation), displays to many decimals. We should keep it persistent across the app. I suggest 4 decimals, the same as the fee image

MakMuftic commented 1 month ago

Validate if PR https://github.com/sygmaprotocol/sygma-widget/pull/196 fixed this