chore: cargo fmt

This commit is contained in:
Greg Johnston 2024-06-12 07:57:30 -04:00
parent b89fbe027b
commit 404ad50bd3

View file

@ -69,8 +69,7 @@ pub fn ButtonA(
pub fn ButtonB( pub fn ButtonB(
/// Callback that will be invoked when the button is clicked. /// Callback that will be invoked when the button is clicked.
on_click: impl FnMut(MouseEvent) + 'static, on_click: impl FnMut(MouseEvent) + 'static,
) -> impl IntoView ) -> impl IntoView {
{
view! { <button on:click=on_click>"Toggle Right"</button> } view! { <button on:click=on_click>"Toggle Right"</button> }
} }