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 5caa45f commit b5b4fd5
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 b5b4fd5

Please sign in to comment.