0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-06 03:51:21 -05:00

🐛 Fix view only reset

This commit is contained in:
Eva Marco 2024-03-27 13:24:44 +01:00
parent 3873f477d6
commit 2396b54e15

View file

@ -72,7 +72,9 @@
(mf/deps project)
(fn []
(close-modals)
(st/emit! (dw/go-to-dashboard project))))
(st/emit! (dw/set-options-mode :design)
(dw/set-workspace-read-only false)
(dw/go-to-dashboard project))))
nav-to-project
(mf/use-fn