diff --git a/apps/trust/src/pages/NDAPage.tsx b/apps/trust/src/pages/NDAPage.tsx index 1c45c1a1b..c1271bcc3 100644 --- a/apps/trust/src/pages/NDAPage.tsx +++ b/apps/trust/src/pages/NDAPage.tsx @@ -199,19 +199,6 @@ export function NDAPage(props: { }); }); - const handleTryAgain = () => { - if (ndaSignature && viewer?.fullName) { - acceptSignature({ - variables: { - input: { - signatureId: ndaSignature.id, - fullName: viewer.fullName, - }, - }, - }); - } - }; - const nda = trustCenter.nonDisclosureAgreement; if ( !nda @@ -257,14 +244,7 @@ export function NDAPage(props: { )}
{ - e.preventDefault(); - handleTryAgain(); - } - : e => void handleSubmit(e) - } + onSubmit={e => void handleSubmit(e)} className="mt-8" >