Closed fernandomg closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
dappbooster | ✅ Ready (Inspect) | Visit Preview | Aug 1, 2024 2:13pm |
I think it works fine. Code looks good to me.
For instance, the number formatting in general, we can get rid of the uniswap/conedison code altogether.
How difficult a task would this be? Can it be done here? Else create an issue so somebody works on this later.
new issue: https://github.com/BootNodeDev/dAppBooster/issues/200
Closes #95
Description:
This adds a 3rd party library (react-number-format) that handles the input formatting.
It wraps the
TextField
passed to theBigNumberInput
component, in theTokenInput
implementation.TokenInput
has a new prop (thousandSeparator
, default totrue
) that enables activating/deactivating this feature.We can explore the functionality that this library provides. For instance, the number formatting in general, we can get rid of the
uniswap/conedison
code altogether.Steps:
Use the token input example, enter values >= 1000, and see the magic 🪄
Type of change:
How Has This Been Tested?
Remember to check that:
Screenshots