Remove dead code

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-02-20 12:52:21 +01:00
parent c8be45008f
commit c6e198854e

View File

@@ -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; const nda = trustCenter.nonDisclosureAgreement;
if ( if (
!nda !nda
@@ -257,14 +244,7 @@ export function NDAPage(props: {
</Card> </Card>
)} )}
<form <form
onSubmit={ onSubmit={e => void handleSubmit(e)}
isFailed
? (e) => {
e.preventDefault();
handleTryAgain();
}
: e => void handleSubmit(e)
}
className="mt-8" className="mt-8"
> >
<Field <Field