From 07e3350e553e11bcb0e325f806660593a72816ba Mon Sep 17 00:00:00 2001 From: Nafiu Taiwo Date: Thu, 25 Jul 2024 17:43:40 +0100 Subject: [PATCH] feat: fix generate email preview route --- .../_components/generate-field/generate-field.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/dashboard/(admin)/admin/email/generate-with-html/_components/generate-field/generate-field.tsx b/src/app/dashboard/(admin)/admin/email/generate-with-html/_components/generate-field/generate-field.tsx index 886d9c69d..9a6000999 100644 --- a/src/app/dashboard/(admin)/admin/email/generate-with-html/_components/generate-field/generate-field.tsx +++ b/src/app/dashboard/(admin)/admin/email/generate-with-html/_components/generate-field/generate-field.tsx @@ -14,7 +14,9 @@ const GenerateField = () => { isButtonVisible={true} buttonContent="Generate" onButtonClick={() => - router.push("/admin/email/generate-with-html/preview-template") + router.push( + "/dashboard/admin/email/generate-with-html/preview-template", + ) } />