diff --git a/leptos_dom/src/events/typed.rs b/leptos_dom/src/events/typed.rs index e152a2a1e..2b920ecbe 100644 --- a/leptos_dom/src/events/typed.rs +++ b/leptos_dom/src/events/typed.rs @@ -79,7 +79,7 @@ macro_rules! generate_event_types { type EventType = web_sys::$web_sys_event; fn name(&self) -> Cow<'static, str> { - concat!("on", stringify!([<$event:lower>])).into() + stringify!([<$event:lower>]).into() } } )*