mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 23:11:37 +02:00
♻️ Refactor workspace state organization
Move many local to a specific global prop.
This commit is contained in:
parent
6e667e078c
commit
f05518e357
14 changed files with 133 additions and 171 deletions
|
@ -60,7 +60,7 @@
|
|||
|
||||
(mf/defc header-options
|
||||
[{:keys [section zoom page file index permissions]}]
|
||||
(let [fullscreen? (mf/deref refs/fullscreen?)
|
||||
(let [fullscreen? (mf/deref refs/viewer-fullscreen?)
|
||||
|
||||
toggle-fullscreen
|
||||
(mf/use-callback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue