fix watch address input field (#19051)

This commit is contained in:
flexsurfer 2024-02-29 14:40:01 +01:00 committed by GitHub
parent d637f69a45
commit c15084fffa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@
on-change-text (fn [new-text]
(reset! validation-msg (validate new-text))
(reset! input-value new-text)
(reagent/flush)
(if (and (not-empty new-text) (nil? (validate new-text)))
(rf/dispatch [:wallet/get-address-details new-text])
(rf/dispatch [:wallet/clear-address-activity-check]))