mirror of
https://github.com/penpot/penpot.git
synced 2025-04-15 08:21:40 -05:00
🔥 Remove unnecessary prevent and stop (#5799)
This commit is contained in:
parent
5fa96315e3
commit
a98111f68d
1 changed files with 1 additions and 3 deletions
|
@ -24,9 +24,7 @@
|
|||
[{:keys [on-create on-finish-import project-id] :as props}]
|
||||
(let [file-input (mf/use-ref nil)
|
||||
on-add-library (mf/use-fn
|
||||
(fn [event]
|
||||
(dom/prevent-default event)
|
||||
(dom/stop-propagation event)
|
||||
(fn [_]
|
||||
(st/emit! (ptk/event ::ev/event {::ev/name "explore-libraries-click"
|
||||
::ev/origin "dashboard"
|
||||
:section "empty-placeholder-projects"}))
|
||||
|
|
Loading…
Add table
Reference in a new issue