🐛 Fix black line is displaying after show main

This commit is contained in:
Pablo Alba 2024-06-07 15:36:31 +02:00 committed by Alejandro Alonso
parent a553de3c98
commit 1f7b5a0f7f
2 changed files with 6 additions and 3 deletions

View file

@ -402,9 +402,11 @@
(st/emit! (dwl/nav-to-component-file library-id comp))))
do-show-component
#(if local-component?
(do-show-local-component)
(do-show-remote-component))
(fn []
(st/emit! dw/hide-context-menu)
(if local-component?
(do-show-local-component)
(do-show-remote-component)))
do-restore-component
#(let [;; Extract a map of component-id -> component-file in order to avoid duplicates