From ded4f03e051ad1f1aea623f58d9da6468ac627ef Mon Sep 17 00:00:00 2001 From: captain-Akshay Date: Fri, 22 Sep 2023 10:31:42 +0530 Subject: [PATCH] fix: cancel button handler --- apps/web/src/app/(signing)/sign/[token]/form.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/app/(signing)/sign/[token]/form.tsx b/apps/web/src/app/(signing)/sign/[token]/form.tsx index e18571e33..26568ddcc 100644 --- a/apps/web/src/app/(signing)/sign/[token]/form.tsx +++ b/apps/web/src/app/(signing)/sign/[token]/form.tsx @@ -101,6 +101,7 @@ export const SigningForm = ({ document, recipient, fields }: SigningFormProps) = className="dark:bg-muted dark:hover:bg-muted/80 w-full bg-black/5 hover:bg-black/10" variant="secondary" size="lg" + onClick={() => router.back()} > Cancel