mirror of https://github.com/penpot/penpot.git
🐛 Fix change of library on swap
This commit is contained in:
parent
2f0853f5cc
commit
478f6bcc19
|
|
@ -687,7 +687,7 @@
|
|||
(str/upper (tr "workspace.assets.local-library"))
|
||||
(dm/get-in libraries [current-library-id :name]))
|
||||
|
||||
current-lib-data (mf/with-memo [libraries]
|
||||
current-lib-data (mf/with-memo [libraries current-library-id]
|
||||
(get-in libraries [current-library-id :data]))
|
||||
|
||||
current-lib-counts (mf/with-memo [current-lib-data]
|
||||
|
|
|
|||
Loading…
Reference in New Issue