From c0f5f089d5c0b117fd33d0d5e854ebd9413c843a Mon Sep 17 00:00:00 2001 From: Dan Motzenbecker Date: Sun, 30 Aug 2015 11:26:26 -0400 Subject: [PATCH] removed invalid prop from core template --- resources/core.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/core.cljs b/resources/core.cljs index fdcf48f..beb1b92 100644 --- a/resources/core.cljs +++ b/resources/core.cljs @@ -9,7 +9,6 @@ ;; Setup some methods to help create React Native elements - (defn view [opts & children] (apply js/React.createElement js/React.View (clj->js opts) children)) @@ -18,14 +17,13 @@ ;; Set up our Om UI - (defonce app-state (atom {:text "Welcome to $PROJECT_NAME$"})) (defn widget [data owner] (reify om/IRender (render [this] - (view {:style {:flexDirection "row" :margin 40 :fontSize 20}} + (view {:style {:flexDirection "column" :margin 40}} (text nil (:text data)))))) (om/root widget app-state {:target 1})