Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed May 7, 2024
1 parent fc433a2 commit 217f9ba
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/status_im/contexts/settings/wallet/saved_addresses/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -125,23 +125,26 @@
:address address
:customization-color (keyword colorId)}}])

(defn header
(defn- header
[{:keys [title]}]
[quo/divider-label
{:container-style {:border-top-color colors/white-opa-5
:margin-top 16}}
title])

(defn footer
(defn- footer
[]
[rn/view {:height 8}])

(defn view
(defn- navigate-back
[]
(rf/dispatch [:navigate-back]))

(defn- view
[]
(let [inset-top (safe-area/get-top)
customization-color (rf/sub [:profile/customization-color])
saved-addresses (rf/sub [:wallet/grouped-saved-addresses])
navigate-back (rn/use-callback #(rf/dispatch [:navigate-back]))]
saved-addresses (rf/sub [:wallet/grouped-saved-addresses])]
(rn/use-effect
(fn []
(rf/dispatch [:wallet/get-saved-addresses])))
Expand Down

0 comments on commit 217f9ba

Please sign in to comment.