From b3a74737399cbc566f1575828db63b0fbb0f57bf Mon Sep 17 00:00:00 2001 From: saguywalker Date: Thu, 1 Jun 2023 01:55:43 +0900 Subject: [PATCH] typo in creating-components.md (#139) --- docs/creating-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/creating-components.md b/docs/creating-components.md index 7d90f7b..a61f16e 100644 --- a/docs/creating-components.md +++ b/docs/creating-components.md @@ -112,7 +112,7 @@ use the `fnc` macro. ```clojure (let [my-button (fnc [{:keys [class on-click] :as props}] (d/button {:class class :on-click on-click}))] - ($ my-button {:class ["foo" "bar] :on-click #(js/alert "hi")}) + ($ my-button {:class ["foo" "bar"] :on-click #(js/alert "hi")}) ``` ## Class Components