parent
9888eaab18
commit
7fbbf8b4aa
|
@ -5,7 +5,6 @@
|
||||||
"Creates subscrition that cheks if collection (map or set) contains element"
|
"Creates subscrition that cheks if collection (map or set) contains element"
|
||||||
[collection]
|
[collection]
|
||||||
(fn [db [_ element]]
|
(fn [db [_ element]]
|
||||||
(println "WWWWWWWWWW" (type db))
|
|
||||||
(-> (collection @db)
|
(-> (collection @db)
|
||||||
(contains? element)
|
(contains? element)
|
||||||
(reaction))))
|
(reaction))))
|
||||||
|
|
Loading…
Reference in New Issue