mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
fix: entering two zeros in a row in the 'Amount' field in wallet (#19911)
fix: entering two zeros in a row in the 'Amount' field in wallet
This commit is contained in:
parent
497c95fd26
commit
7f40f410e7
@ -78,9 +78,10 @@
|
||||
|
||||
(defn add-character
|
||||
[state character]
|
||||
(when (can-add-character? state character)
|
||||
(if (can-add-character? state character)
|
||||
(set-input-value state
|
||||
(normalize-value-as-numeric (input-value state) character))))
|
||||
(normalize-value-as-numeric (input-value state) character))
|
||||
state))
|
||||
|
||||
(defn delete-last
|
||||
[state]
|
||||
|
Loading…
x
Reference in New Issue
Block a user