mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 22:26:11 +02:00
Merge pull request #5292 from penpot/palba-revert-open-modal-extra-event
Revert "✨ Send event when an user opens a modal"
This commit is contained in:
commit
d2f30d2b12
1 changed files with 0 additions and 7 deletions
|
@ -10,7 +10,6 @@
|
||||||
[app.common.uuid :as uuid]
|
[app.common.uuid :as uuid]
|
||||||
[app.main.data.events :as ev]
|
[app.main.data.events :as ev]
|
||||||
[app.main.store :as st]
|
[app.main.store :as st]
|
||||||
[beicon.v2.core :as rx]
|
|
||||||
[cljs.core :as c]
|
[cljs.core :as c]
|
||||||
[potok.v2.core :as ptk]))
|
[potok.v2.core :as ptk]))
|
||||||
|
|
||||||
|
@ -31,12 +30,6 @@
|
||||||
(dissoc :type)
|
(dissoc :type)
|
||||||
(assoc :name type)))
|
(assoc :name type)))
|
||||||
|
|
||||||
ptk/WatchEvent
|
|
||||||
(watch [_ _ _]
|
|
||||||
(rx/of (ptk/event
|
|
||||||
::ev/event
|
|
||||||
{::ev/name "show-modal" :type type})))
|
|
||||||
|
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(update [_ state]
|
||||||
(assoc state ::modal {:id id
|
(assoc state ::modal {:id id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue