lint :all-the-things:

This commit is contained in:
Gabriel Horner
2022-01-13 16:32:12 -05:00
committed by Tienson Qin
parent 2401ce9e9a
commit 3ec587d6eb
45 changed files with 338 additions and 415 deletions

View File

@@ -3,6 +3,7 @@
[clojure.set :as set]
[clojure.walk :as w]
[rum.core :refer [use-state use-effect!] :as rum]
[daiquiri.interpreter :as interpreter]
[cljs-bean.core :as bean]))
;; copy from https://github.com/priornix/antizer/blob/35ba264cf48b84e6597743e28b3570d8aa473e74/src/antizer/core.cljs
@@ -45,7 +46,7 @@
;; we have to make sure to check if the children is sequential
;; as a list can be returned, eg: from a (for)
new-children (if (sequential? type#)
(let [result (daiquiri.interpreter/interpret children)]
(let [result (interpreter/interpret children)]
(if (sequential? result)
result
[result]))
@@ -98,4 +99,4 @@
(rum/set-ref! *mounted true)
#(rum/set-ref! *mounted false))
[])
#(rum/deref *mounted)))
#(rum/deref *mounted)))