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;