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