mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 17:51:49 +10:00
chore: remove undefined check
This commit is contained in:
committed by
Mythie
parent
704306fd21
commit
c107608aeb
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user