clean
This commit is contained in:
parent
fc433a2c49
commit
217f9ba871
|
@ -125,23 +125,26 @@
|
||||||
:address address
|
:address address
|
||||||
:customization-color (keyword colorId)}}])
|
:customization-color (keyword colorId)}}])
|
||||||
|
|
||||||
(defn header
|
(defn- header
|
||||||
[{:keys [title]}]
|
[{:keys [title]}]
|
||||||
[quo/divider-label
|
[quo/divider-label
|
||||||
{:container-style {:border-top-color colors/white-opa-5
|
{:container-style {:border-top-color colors/white-opa-5
|
||||||
:margin-top 16}}
|
:margin-top 16}}
|
||||||
title])
|
title])
|
||||||
|
|
||||||
(defn footer
|
(defn- footer
|
||||||
[]
|
[]
|
||||||
[rn/view {:height 8}])
|
[rn/view {:height 8}])
|
||||||
|
|
||||||
(defn view
|
(defn- navigate-back
|
||||||
|
[]
|
||||||
|
(rf/dispatch [:navigate-back]))
|
||||||
|
|
||||||
|
(defn- view
|
||||||
[]
|
[]
|
||||||
(let [inset-top (safe-area/get-top)
|
(let [inset-top (safe-area/get-top)
|
||||||
customization-color (rf/sub [:profile/customization-color])
|
customization-color (rf/sub [:profile/customization-color])
|
||||||
saved-addresses (rf/sub [:wallet/grouped-saved-addresses])
|
saved-addresses (rf/sub [:wallet/grouped-saved-addresses])]
|
||||||
navigate-back (rn/use-callback #(rf/dispatch [:navigate-back]))]
|
|
||||||
(rn/use-effect
|
(rn/use-effect
|
||||||
(fn []
|
(fn []
|
||||||
(rf/dispatch [:wallet/get-saved-addresses])))
|
(rf/dispatch [:wallet/get-saved-addresses])))
|
||||||
|
|
Loading…
Reference in New Issue