From 46c39b7b93e265b45f199c846790779546dce005 Mon Sep 17 00:00:00 2001 From: Tiago Espinha Date: Fri, 15 Sep 2017 19:49:40 +0100 Subject: [PATCH] Fixing the "usage" example as it's wrong The usage example has a mistake and makes it so that when people do copy/paste, they end up with a wrong example. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2ab4b0..ee6f76a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Update your Clojurescript version (>= 1.9.908) (ns cljs-react-material-ui-example.core (:require [cljsjs.material-ui] ; I recommend adding this at the beginning of core file ; so React is always loaded first. It's not always needed - [cljs-react-material-ui.core :as ui] + [cljs-react-material-ui.reagent :as ui] [cljs-react-material-ui.icons :as ic])) ; SVG icons that comes with MaterialUI ; Including icons is not required ``` @@ -205,4 +205,4 @@ Luckily, there is a workaround, which fixes most of use cases: Instead of `:valu {:id "example" :default-value @text-state :on-change (fn [e] (reset! text-state (.. e -target -value)))}]))) -``` \ No newline at end of file +```