mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix change of library on swap (#7898)
This commit is contained in:
@@ -687,7 +687,7 @@
|
|||||||
(str/upper (tr "workspace.assets.local-library"))
|
(str/upper (tr "workspace.assets.local-library"))
|
||||||
(dm/get-in libraries [current-library-id :name]))
|
(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]))
|
(get-in libraries [current-library-id :data]))
|
||||||
|
|
||||||
current-lib-counts (mf/with-memo [current-lib-data]
|
current-lib-counts (mf/with-memo [current-lib-data]
|
||||||
|
|||||||
Reference in New Issue
Block a user