mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 05:01:38 +02:00
🐛 Fix icon collection filtering.
This commit is contained in:
parent
ffcba0bf22
commit
44a893b46e
3 changed files with 20 additions and 27 deletions
|
@ -424,8 +424,7 @@
|
|||
(uuid? id) (seek #(= id (:id %)) colls)
|
||||
:else (first colls))
|
||||
id (:id selected-coll)]
|
||||
|
||||
(mf/use-effect #(st/emit! (di/fetch-collections)))
|
||||
(mf/use-effect #(st/emit! di/fetch-collections))
|
||||
(mf/use-effect {:fn #(st/emit! (di/initialize)
|
||||
(di/fetch-icons id))
|
||||
:deps #js [id type]})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue