fix: prevent multiple taps on Register button from opening several tx during ENS registration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
439643daa4
commit
5002b4c7bb
|
@ -295,7 +295,7 @@
|
|||
(i18n/label :t/ens-deposit)]]]
|
||||
[button {:disabled? (not @checked?)
|
||||
:label-style (when (not @checked?) {:color colors/gray})
|
||||
:on-press #(re-frame/dispatch [::ens/register-name-pressed])}
|
||||
:on-press #(debounce/dispatch-and-chill [::ens/register-name-pressed] 2000)}
|
||||
(i18n/label :t/ens-register)]]])
|
||||
|
||||
(defn- registration
|
||||
|
|
Loading…
Reference in New Issue