chore: update tests

This commit is contained in:
Greg Johnston 2024-08-03 10:11:29 -04:00
parent 54e4205541
commit 4845459511
1 changed files with 2 additions and 4 deletions

View File

@ -38,7 +38,7 @@ pub fn TestComponent(
}
#[component]
fn TestMutCallback<F>(mut callback: F, value: &'static str) -> impl IntoView
pub fn TestMutCallback<F>(mut callback: F, value: &'static str) -> impl IntoView
where
F: FnMut(u32) + 'static,
{
@ -46,9 +46,7 @@ where
view! {
<button on:click=move |_| {
callback(5);
}>
{value}
</button>
}>{value}</button>
<TestComponent key="test"/>
}
}