diff --git a/README.md b/README.md index 2e41d56..980628b 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ that state. (defn remove-contact! [c] (update-contacts! (fn [cs] (vec (remove #(= % c) cs))) - c)) + )) ``` Think of `add-contact!` and `remove-contact!` as the interface to our diff --git a/src-cljs/reagent_tutorial/core.cljs b/src-cljs/reagent_tutorial/core.cljs index d130bb2..ce5d253 100644 --- a/src-cljs/reagent_tutorial/core.cljs +++ b/src-cljs/reagent_tutorial/core.cljs @@ -24,7 +24,7 @@ (defn remove-contact! [c] (update-contacts! (fn [cs] (vec (remove #(= % c) cs))) - c)) + )) ;; The next three fuctions are copy/pasted verbatim from the Om tutorial (defn middle-name [{:keys [middle middle-initial]}]