mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
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…
x
Reference in New Issue
Block a user