export function LoginForm() { const FormHook = useLoginForm(); const loginAction = useAction(login); const handleSession: SubmitHandler<{ email: string; password: string; }> = async ({ email, password }) => { try { await loginAction(email, password); } catch (error) { throw new FormError(m.server_error_login_failed()); } }; return <></>}