🐛 Fix comment loading crash

This commit is contained in:
Belén Albeza 2025-04-23 11:43:30 +02:00
parent 40fe6369cb
commit 1a7d60bb88
3 changed files with 51 additions and 0 deletions

View file

@ -105,6 +105,7 @@
workspace-editor-state (mf/deref refs/workspace-editor-state)
workspace-v2-editor-state (mf/deref refs/workspace-v2-editor-state)
file-id (get file :id)
objects (get page :objects)
page-id (get page :id)
background (get page :background clr/canvas)
@ -341,6 +342,7 @@
(when show-comments?
[:> comments/comments-layer* {:vbox vbox
:page-id page-id
:file-id file-id
:vport vport
:zoom zoom}])