mirror of
https://github.com/penpot/penpot.git
synced 2026-04-11 21:58:38 +02:00
♻️ Convert image-upload to modern rumext * format
Rename to image-upload*, update internal call site in top-toolbar* to [:> image-upload*].
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
[potok.v2.core :as ptk]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
(mf/defc image-upload
|
||||
(mf/defc image-upload*
|
||||
{::mf/wrap [mf/memo]}
|
||||
[]
|
||||
(let [ref (mf/use-ref nil)
|
||||
@@ -181,7 +181,7 @@
|
||||
:data-tool "text"}
|
||||
deprecated-icon/text]]
|
||||
|
||||
[:& image-upload]
|
||||
[:> image-upload*]
|
||||
|
||||
[:li
|
||||
[:button
|
||||
|
||||
Reference in New Issue
Block a user