From f6e49e3f2143c428710c96c0c8df2af85b94ad15 Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Wed, 6 Sep 2023 12:00:23 +0000 Subject: [PATCH] chore: remove code from different branch --- apps/web/src/app/(signing)/sign/[token]/page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/web/src/app/(signing)/sign/[token]/page.tsx b/apps/web/src/app/(signing)/sign/[token]/page.tsx index a55687196..f25183968 100644 --- a/apps/web/src/app/(signing)/sign/[token]/page.tsx +++ b/apps/web/src/app/(signing)/sign/[token]/page.tsx @@ -44,10 +44,6 @@ export default async function SigningPage({ params: { token } }: SigningPageProp return notFound(); } - if (document?.status === 'COMPLETED') { - redirect(`/sign/${token}/complete`); - } - const user = await getServerComponentSession(); const documentUrl = `data:application/pdf;base64,${document.document}`;