From b3e2a610f160a103a5aca9d7c52faa49ef482928 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Mon, 22 Jan 2018 10:46:45 +0100 Subject: [PATCH] [ISSUE#3105] Fixed section renderer data access --- src/status_im/ui/components/list/views.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/status_im/ui/components/list/views.cljs b/src/status_im/ui/components/list/views.cljs index 1fbdd5b987..cf3a6d47b6 100644 --- a/src/status_im/ui/components/list/views.cljs +++ b/src/status_im/ui/components/list/views.cljs @@ -142,7 +142,9 @@ (defn- wrap-render-section-header-fn [f] (fn [data] - (reagent/as-element (f (.-section data))))) + (let [section (.-section data)] + (reagent/as-element (f {:title (.-title section) + :data (.-data section)}))))) (defn- default-render-section-header [{:keys [title data]}] (when (seq data)