chore: cargo fmt

This commit is contained in:
Greg Johnston 2024-06-12 07:57:30 -04:00
parent 69abde6205
commit b46b026e42

View file

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