mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
🐛 Fix problem when expanding components tab
This commit is contained in:
parent
a6f70c77cb
commit
2a998a2dcc
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@
|
|||
|
||||
on-collapsed
|
||||
(mf/use-fn
|
||||
(mf/deps file-id section open?)
|
||||
(mf/deps file-id section open? assets-count)
|
||||
(fn [_]
|
||||
(when (< 0 assets-count)
|
||||
(st/emit! (dw/set-assets-section-open file-id section (not open?))))))
|
||||
|
|
Loading…
Reference in a new issue