mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 09:12:02 +10:00
chore: refactor mail router
This commit is contained in:
@ -5,7 +5,7 @@ import React from 'react';
|
||||
import { trpc } from '@documenso/trpc/react';
|
||||
|
||||
export default function Send() {
|
||||
const { mutateAsync: sendMail } = trpc.document.sendEmail.useMutation();
|
||||
const { mutateAsync: sendMail } = trpc.mail.send.useMutation();
|
||||
|
||||
return (
|
||||
<div className="p-20">
|
||||
|
||||
Reference in New Issue
Block a user