tweak: example

This commit is contained in:
Jonathan Kelley committed 2022-01-07 11:53:19 -05:00
1 parent c439b0ac7e
commit 1c691e899c
1 file changed
+1 -1
+1 -1
View File
@@ -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 {