mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 12:01:19 -05: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
|
||||
"A faster merge."
|
||||
[& maps]
|
||||
(loop [res (transient (first maps))
|
||||
(loop [res (transient (or (first maps) {}))
|
||||
maps (next maps)]
|
||||
(if (nil? maps)
|
||||
(persistent! res)
|
||||
|
|
Loading…
Add table
Reference in a new issue