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…
Reference in New Issue