mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
🐛 Fix unexpected nil key on page-index after page creation
This commit is contained in:
parent
63ed9cbbde
commit
f2a4275531
1 changed files with 2 additions and 1 deletions
|
@ -259,7 +259,8 @@
|
|||
(if-let [[page-id changes] (first entries)]
|
||||
(recur (-> fdata
|
||||
(cpc/process-changes changes)
|
||||
(ctst/update-object-indices page-id))
|
||||
(cond-> (some? page-id)
|
||||
(ctst/update-object-indices page-id)))
|
||||
(rest entries))
|
||||
fdata))))))
|
||||
(-> state
|
||||
|
|
Loading…
Add table
Reference in a new issue