diff --git a/src/topbar/guest/signin.rs b/src/topbar/guest/signin.rs index 9a18f2d..214b8f1 100644 --- a/src/topbar/guest/signin.rs +++ b/src/topbar/guest/signin.rs @@ -52,9 +52,7 @@ pub fn SignIn(props: &Props) -> Html { }); let status_callback = props.status_callback.clone(); - let onsubmit = Callback::from(move |event: SubmitEvent| { - event.prevent_default(); - + let onsubmit = Callback::from(move |_| { let state = state.deref().clone(); session.login( @@ -66,7 +64,7 @@ pub fn SignIn(props: &Props) -> Html { }); html! { -