fix: update og card

This commit is contained in:
Mythie
2023-08-31 15:36:09 +10:00
parent f1f6e2e40a
commit 8d4df7d3dd
8 changed files with 63 additions and 31 deletions

View File

@ -34,11 +34,11 @@ export default async function SigningPage({ params: { token } }: SigningPageProp
token,
}).catch(() => null),
getFieldsForToken({ token }),
getRecipientByToken({ token }),
viewedDocument({ token }),
getRecipientByToken({ token }).catch(() => null),
viewedDocument({ token }).catch(() => null),
]);
if (!document) {
if (!document || !recipient) {
return notFound();
}