mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
♻️ Convert history-entry-details to modern rumext * format
Rename to history-entry-details* and update internal call site.
This commit is contained in:
parent
e9e6796f05
commit
95ca68e2b8
@ -258,7 +258,7 @@
|
|||||||
(map (resolve-shape-types entries objects))
|
(map (resolve-shape-types entries objects))
|
||||||
(mapv select-entry)))
|
(mapv select-entry)))
|
||||||
|
|
||||||
(mf/defc history-entry-details [{:keys [entry]}]
|
(mf/defc history-entry-details* [{:keys [entry]}]
|
||||||
(let [{entries :items} (mf/deref workspace-undo)
|
(let [{entries :items} (mf/deref workspace-undo)
|
||||||
objects (mf/deref refs/workspace-page-objects)]
|
objects (mf/deref refs/workspace-page-objects)]
|
||||||
|
|
||||||
@ -319,7 +319,7 @@
|
|||||||
deprecated-icon/arrow])]
|
deprecated-icon/arrow])]
|
||||||
|
|
||||||
(when @show-detail?
|
(when @show-detail?
|
||||||
[:& history-entry-details {:entry entry}])]))
|
[:> history-entry-details* {:entry entry}])]))
|
||||||
|
|
||||||
(mf/defc history-toolbox*
|
(mf/defc history-toolbox*
|
||||||
[]
|
[]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user