mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 00:07:18 +02:00
feat(frontend): add many adaptations to rumext breaking changes
This commit is contained in:
parent
9ddd9f317d
commit
321c8d14e1
14 changed files with 149 additions and 174 deletions
|
@ -33,7 +33,7 @@
|
|||
(when (dom/equals? parent current)
|
||||
(udl/close!))))
|
||||
|
||||
(defn- lightbox-will-mount
|
||||
(defn- lightbox-init
|
||||
[own]
|
||||
(let [key (events/listen js/document
|
||||
EventType.KEYDOWN
|
||||
|
@ -47,7 +47,7 @@
|
|||
|
||||
(mx/defcs lightbox
|
||||
{:mixins [mx/reactive]
|
||||
:will-mount lightbox-will-mount
|
||||
:init lightbox-init
|
||||
:will-unmount lightbox-will-umount}
|
||||
[own]
|
||||
(let [data (mx/react lightbox-ref)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue