From 28bb3f81aa0f3c03423d47f946f2e8cbf63b3744 Mon Sep 17 00:00:00 2001 From: Jose Quesada Date: Wed, 28 Dec 2022 15:28:59 -0600 Subject: [PATCH] made `ev::undelegated` lowercase to match the rest of the event names --- leptos_dom/src/events/typed.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/leptos_dom/src/events/typed.rs b/leptos_dom/src/events/typed.rs index 0309c14ab..eb071b279 100644 --- a/leptos_dom/src/events/typed.rs +++ b/leptos_dom/src/events/typed.rs @@ -24,7 +24,8 @@ pub trait EventDescriptor: Clone { /// Overrides the [`EventDescriptor::bubbles`] method to always return /// `false`, which forces the event to not be globally delegated. #[derive(Clone)] -pub struct Undelegated(pub Ev); +#[allow(non_camel_case_types)] +pub struct undelegated(pub Ev); impl EventDescriptor for Undelegated { type EventType = Ev::EventType;