-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
const [a,b] = useState(0)
return (
<AmountInput
currency='BRL'
defaultQuantity={ a }
onChangeQuantity={ b }
/>
)renders R0.00, when it should render R$0.00 (actually it should be using ',' tho)
The issue is on this line
| return formatter.format(0)[0] |
removing the [0] fixes for me, but I'm not sure why it has this index access
Metadata
Metadata
Assignees
Labels
No labels