This shows the correct amount for allocation on mobile, but incorrect amount on desktop (displays matchedAmount when it should display totalAmount)
If I change to yoctosToNear(totalAmount, true), it appears correctly on desktop but incorrectly on mobile (says e.g. "11.86N allocated" instead of "229.39N allocated"
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug There is an issue here: https://github.com/PotLock/bos-app/blob/61796b9f32a590629acf9bbeb85e03d2f47f37f3/apps/potlock/widget/Pots/Payouts.jsx#L463-L467
This shows the correct amount for allocation on mobile, but incorrect amount on desktop (displays
matchedAmount
when it should displaytotalAmount
)If I change to
yoctosToNear(totalAmount, true)
, it appears correctly on desktop but incorrectly on mobile (says e.g. "11.86N allocated" instead of "229.39N allocated"To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.