mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 04:08:23 +00:00
🐛 Fix problem when expanding components tab
This commit is contained in:
parent
a6f70c77cb
commit
2a998a2dcc
@ -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…
x
Reference in New Issue
Block a user