From 41646aaab73b60a7300673617321b5467493e7ad Mon Sep 17 00:00:00 2001 From: vyshnav Date: Sat, 14 Sep 2024 07:38:41 +0530 Subject: [PATCH] Refactor: disabled the save button if there is no coupon --- src/components/Admin/code-generation-card.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Admin/code-generation-card.tsx b/src/components/Admin/code-generation-card.tsx index cc855f9..cc61438 100644 --- a/src/components/Admin/code-generation-card.tsx +++ b/src/components/Admin/code-generation-card.tsx @@ -50,12 +50,13 @@ export function Coupon({ session }: { session: NextAuthSession }) {
- +