This commit is contained in:
ibrkhalil 2024-05-07 20:48:02 +03:00
parent fc433a2c49
commit 217f9ba871
No known key found for this signature in database
GPG Key ID: 4DC01DE789FD7BD3
1 changed files with 8 additions and 5 deletions

View File

@ -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])))