From 48454595112d95bd6f911d2759c863ebd9273e33 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sat, 3 Aug 2024 10:11:29 -0400 Subject: [PATCH] chore: update tests --- leptos_macro/example/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/leptos_macro/example/src/lib.rs b/leptos_macro/example/src/lib.rs index 175b9cc80..791e4021f 100644 --- a/leptos_macro/example/src/lib.rs +++ b/leptos_macro/example/src/lib.rs @@ -38,7 +38,7 @@ pub fn TestComponent( } #[component] -fn TestMutCallback(mut callback: F, value: &'static str) -> impl IntoView +pub fn TestMutCallback(mut callback: F, value: &'static str) -> impl IntoView where F: FnMut(u32) + 'static, { @@ -46,9 +46,7 @@ where view! { + }>{value} } }