mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 12:16:38 +02:00
⬆️ Update rumext and shadow-cljs
This commit is contained in:
parent
c7001fed3c
commit
c80da1bbac
11 changed files with 30 additions and 29 deletions
|
@ -88,9 +88,10 @@
|
|||
(dom/blur! input))))
|
||||
|
||||
context-value
|
||||
(mf/spread-obj props {:on-change on-change'
|
||||
:encode-fn encode-fn
|
||||
:decode-fn decode-fn})]
|
||||
(mf/spread props
|
||||
:on-change on-change'
|
||||
:encode-fn encode-fn
|
||||
:decode-fn decode-fn)]
|
||||
|
||||
[:& (mf/provider context) {:value context-value}
|
||||
[:div {:class (dm/str class " " (stl/css :radio-btn-wrapper))
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
[{:keys [type on-type-change] :as props}]
|
||||
(let [type (d/nilv type :simple)
|
||||
on-blur (mf/use-fn #(select-margins false false false false))
|
||||
props (mf/spread-obj props {:on-blur on-blur})
|
||||
props (mf/spread props :on-blur on-blur)
|
||||
|
||||
on-type-change'
|
||||
(mf/use-fn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue