live update comma to dot

This commit is contained in:
Nouman Tahir 2022-05-29 15:50:32 +05:00
parent 344188d240
commit 604cdf6b06

View File

@ -259,7 +259,7 @@ class PowerDownView extends Component {
style={[styles.amountInput, !isAmountValid && styles.error]}
onChangeText={(value) =>
this.setState({
hp: value,
hp: value.replace(',', '.'),
isAmountValid: this._validateHP({ value, availableVestingShares }),
})
}