Skip to content

Commit

Permalink
[#19765] fix: remove redundant use-callback
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Jun 5, 2024
1 parent d9d14a2 commit 7e9795b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
(defn- address-input
[{:keys [input-value on-change-text paste-into-input clear-input]}]
(let [empty-input? (string/blank? input-value)
on-scan-result (rn/use-callback #(on-change-text %))
on-scan-address (rn/use-callback #(rf/dispatch [:open-modal :screen/wallet.scan-address
{:on-result on-scan-result}]))]
{:on-result on-change-text}]))]
[rn/view {:style style/input-container}
[quo/input
{:accessibility-label :add-address-to-save
Expand Down

0 comments on commit 7e9795b

Please sign in to comment.