chore: remove undefined check

This commit is contained in:
Ephraim Atta-Duncan
2023-09-06 07:37:03 +00:00
parent 551918ab9b
commit e47ab838c5

View File

@ -44,7 +44,7 @@ export default async function SigningPage({ params: { token } }: SigningPageProp
return notFound();
}
if (document?.status === 'COMPLETED') {
if (document.status === 'COMPLETED') {
redirect(`/sign/${token}/complete`);
}