Fix indentation

This commit is contained in:
Dosbol 2020-01-04 19:57:05 +06:00 committed by GitHub
parent c5b93b909d
commit 2eea6f92d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -109,10 +109,10 @@ Child component 2:
```clj
(defn more-button
"I'm a button labelled 'More' which increments counter when clicked"
[counter] ;; a ratom
[counter] ;; a ratom
[:div {:class "button-class"
:on-click #(swap! counter inc)} ;; increment the int value in counter
"More"])
:on-click #(swap! counter inc)} ;; increment the int value in counter
"More"])
```
And, finally, a Form-2 parent Component which uses these two child components: