mirror of
https://github.com/penpot/penpot.git
synced 2025-03-19 19:21:23 -05:00
Revert "✨ Send event when an user opens a modal"
This reverts commit 70a1a7a5ea
.
This commit is contained in:
parent
f1941681ab
commit
ccaadeb582
1 changed files with 0 additions and 7 deletions
|
@ -10,7 +10,6 @@
|
|||
[app.common.uuid :as uuid]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.store :as st]
|
||||
[beicon.v2.core :as rx]
|
||||
[cljs.core :as c]
|
||||
[potok.v2.core :as ptk]))
|
||||
|
||||
|
@ -31,12 +30,6 @@
|
|||
(dissoc :type)
|
||||
(assoc :name type)))
|
||||
|
||||
ptk/WatchEvent
|
||||
(watch [_ _ _]
|
||||
(rx/of (ptk/event
|
||||
::ev/event
|
||||
{::ev/name "show-modal" :type type})))
|
||||
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
(assoc state ::modal {:id id
|
||||
|
|
Loading…
Add table
Reference in a new issue