chore: remove undefined check

This commit is contained in:
Ephraim Atta-Duncan
2023-09-06 07:37:03 +00:00
committed by Mythie
parent 704306fd21
commit c107608aeb

View File

@ -45,6 +45,10 @@ export default async function SigningPage({ params: { token } }: SigningPageProp
return notFound(); return notFound();
} }
if (document.status === 'COMPLETED') {
redirect(`/sign/${token}/complete`);
}
const user = await getServerComponentSession(); const user = await getServerComponentSession();
const documentDataUrl = await getFile(documentData) const documentDataUrl = await getFile(documentData)