mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix unexpected exception on faster merge function.
This commit is contained in:
parent
4d7a34a998
commit
a674b3ab94
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@
|
||||||
(defn merge
|
(defn merge
|
||||||
"A faster merge."
|
"A faster merge."
|
||||||
[& maps]
|
[& maps]
|
||||||
(loop [res (transient (first maps))
|
(loop [res (transient (or (first maps) {}))
|
||||||
maps (next maps)]
|
maps (next maps)]
|
||||||
(if (nil? maps)
|
(if (nil? maps)
|
||||||
(persistent! res)
|
(persistent! res)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue