Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed Mar 20, 2024
1 parent 9582d89 commit 44b8876
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
5 changes: 3 additions & 2 deletions src/quo/components/inputs/input/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
(defn- base-input
[{:keys [blur? error? right-icon left-icon disabled? small? button
label char-limit multiline? clearable? on-focus on-blur container-style
on-change-text on-char-limit-reach weight default-value]
on-change-text on-char-limit-reach weight default-value auto-focus]
:as props}]
(let [theme (quo.theme/use-theme-value)
[status set-status] (rn/use-state :default)
Expand Down Expand Up @@ -119,7 +119,8 @@
(internal-on-focus))
:on-blur (fn []
(when on-blur (on-blur))
(internal-on-blur))}
(internal-on-blur))
:auto-focus auto-focus}
:always (merge clean-props)
multiline? (assoc :multiline true
:on-content-size-change on-content-size-change)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,15 @@
(rf/dispatch
[:hide-bottom-sheet]))}]))}]))
:on-success (fn [password]
(rf/dispatch
[:communities/edit-shared-addresses
{:community-id community-id
:password password
:airdrop-address address
:on-success (fn []
(rf/dispatch [:dismiss-modal
:address-for-airdrop])
(rf/dispatch
[:hide-bottom-sheet]))}]))}])
[:dispatch [:communities/edit-shared-addresses
{:community-id community-id
:password password
:airdrop-address address
:on-success (fn []
(rf/dispatch [:dismiss-modal
:address-for-airdrop])
(rf/dispatch
[:hide-bottom-sheet]))}]])}])
(do
(rf/dispatch [:communities/set-airdrop-address community-id address])
(rf/dispatch [:hide-bottom-sheet])))))]
Expand Down

0 comments on commit 44b8876

Please sign in to comment.