mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 17:11:42 +02:00
🐛 Clean workspace state on exit or url change
This commit is contained in:
parent
4c77b32171
commit
9ff2160c77
2 changed files with 3 additions and 1 deletions
|
@ -423,7 +423,8 @@
|
|||
:workspace-tokens
|
||||
:workspace-undo)
|
||||
(update :workspace-global dissoc :read-only?)
|
||||
(assoc-in [:workspace-global :options-mode] :design)))
|
||||
(assoc-in [:workspace-global :options-mode] :design)
|
||||
(update :files d/update-vals #(dissoc % :data))))
|
||||
|
||||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue