mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +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)]]]
|
(i18n/label :t/ens-deposit)]]]
|
||||||
[button {:disabled? (not @checked?)
|
[button {:disabled? (not @checked?)
|
||||||
:label-style (when (not @checked?) {:color colors/gray})
|
: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)]]])
|
(i18n/label :t/ens-register)]]])
|
||||||
|
|
||||||
(defn- registration
|
(defn- registration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user