fix: keep the last repeated datom (different value) in batch tx

This commit is contained in:
Tienson Qin
2024-05-15 07:54:31 +08:00
parent 6fe7680a1f
commit a5a7a781eb
3 changed files with 10 additions and 6 deletions

View File

@@ -610,10 +610,7 @@
(def distinct-by common-util/distinct-by))
#?(:cljs
(defn distinct-by-last-wins
[f col]
{:pre [(sequential? col)]}
(reverse (distinct-by f (reverse col)))))
(def distinct-by-last-wins common-util/distinct-by-last-wins))
(defn get-git-owner-and-repo
[repo-url]