mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 02:01:33 +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();
|
||||
}
|
||||
|
||||
if (document.status === 'COMPLETED') {
|
||||
redirect(`/sign/${token}/complete`);
|
||||
}
|
||||
|
||||
const user = await getServerComponentSession();
|
||||
|
||||
const documentDataUrl = await getFile(documentData)
|
||||
|
||||
Reference in New Issue
Block a user