diff --git a/examples/framework_benchmark.rs b/examples/framework_benchmark.rs index 8ed60986a..0a70bd25b 100644 --- a/examples/framework_benchmark.rs +++ b/examples/framework_benchmark.rs @@ -91,7 +91,7 @@ fn app(cx: Scope) -> Element { struct ActionButtonProps<'a> { name: &'a str, id: &'a str, - onclick: EventHandler<'a, ()>, + onclick: EventHandler<'a>, } fn ActionButton<'a>(cx: Scope<'a, ActionButtonProps<'a>>) -> Element {