diff --git a/apps/trust/src/components/DocumentRow.tsx b/apps/trust/src/components/DocumentRow.tsx index 210729865..01b61a8e6 100644 --- a/apps/trust/src/components/DocumentRow.tsx +++ b/apps/trust/src/components/DocumentRow.tsx @@ -53,7 +53,7 @@ export function DocumentRow(props: { document: DocumentRowFragment$key }) { document.hasUserRequestedAccess, ); return ( -
+
{document.title} diff --git a/apps/trust/src/components/NDADialog.tsx b/apps/trust/src/components/NDADialog.tsx index 9f1780335..2888db771 100644 --- a/apps/trust/src/components/NDADialog.tsx +++ b/apps/trust/src/components/NDADialog.tsx @@ -9,8 +9,8 @@ import { graphql } from "relay-runtime"; import { useMutationWithToasts } from "/hooks/useMutationWithToast"; const signMutation = graphql` - mutation NDADialogSignMutation($input: AcceptNonDisclosureAgreementInput!) { - acceptNonDisclosureAgreement(input: $input) { + mutation NDADialogSignMutation { + acceptNonDisclosureAgreement { success } } @@ -20,12 +20,10 @@ export function NDADialog({ name, url, fileName, - trustCenterId, }: { name: string; url?: string | null; fileName?: string | null; - trustCenterId: string; }) { const { __ } = useTranslate(); useEffect(() => { @@ -43,16 +41,6 @@ export function NDADialog({ }, }); - const handleSign = () => { - commitSigning({ - variables: { - input: { - trustCenterId, - }, - }, - }); - }; - return (
@@ -82,7 +70,7 @@ export function NDADialog({ )}