Skip to content

Commit

Permalink
fix(datom): attr access (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
becomingbabyman authored Nov 24, 2020
1 parent 6937945 commit 68af5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/homebase/react.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
nil entities)))

(defn datom-select-keys [d]
#js [(.-e d) (str (.-a d)) (.-v d) (.-tx d) (< 0 (.-tx d))])
#js [(:e d) (str (:a d)) (:v d) (:tx d) (:added d)])

(defn datoms->js [datoms]
(-> datoms
Expand Down

0 comments on commit 68af5b9

Please sign in to comment.