Closed Sharqiewicz closed 4 weeks ago
Name | Link |
---|---|
Latest commit | 51e6a75074fc96c91b4bd5ac01a21cd5075fc3cc |
Latest deploy log | https://app.netlify.com/sites/rococo-souffle-a625f5/deploys/665e22923d13fd0009b303a6 |
Deploy Preview | https://deploy-preview-483--rococo-souffle-a625f5.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@ebma I applied the changes you mentioned
Nice thanks 👍 something is off though. I noticed that on Foucoco, no matter which asset I'm using in the swap form, it's limited to 12 decimals.
If you check the foucoco squid with the following query, you'll see that the mock tokens have varying decimals though and not always just
12
.query MyQuery { nablaTokens { decimals name id symbol } }
Did you log and check the values that
maxBalance?.decimals
gets? Maybe it's always undefined for some reason.
@ebma It works correctly for me. I receive decimals: 18
for BRL and in the input I can type max of 18 decimals. For AMPE - 12 decimals, EURC - 15 decimals, USDC - 7 decimals and USDT - 10 decimals
Okay, I notice the difference now. The decimals are only queried when an account is connected. If no wallet account is connected, it will not check for the decimals. It then works as expected. Since the user eventually needs to connect to an account to be able to submit anything, the validation will trigger and it works fine.
What:
✅ Remove NumberInput and replace any use of it with NumericInput ✅ Change texts
Closes: #473