diff --git a/src/status_im/components/list/views.cljs b/src/status_im/components/list/views.cljs index 22024abfa9..99196eb546 100644 --- a/src/status_im/components/list/views.cljs +++ b/src/status_im/components/list/views.cljs @@ -86,6 +86,7 @@ "A wrapper for FlatList. See https://facebook.github.io/react-native/docs/flatlist.html" [{:keys [data render-fn empty-component] :as props}] + {:pre [(sequential? data)]} (if (and (empty? data) empty-component) ;; TODO(jeluard) remove when native :ListEmptyComponent is supported empty-component