From 9464b5c00e8d7ea3699b19a20e24beb4033e425b Mon Sep 17 00:00:00 2001 From: anmolsinghbhatia Date: Fri, 28 Apr 2023 18:29:01 +0530 Subject: [PATCH] style: product update modal --- apps/app/components/ui/product-updates-modal.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/app/components/ui/product-updates-modal.tsx b/apps/app/components/ui/product-updates-modal.tsx index b3388d31e..24214b488 100644 --- a/apps/app/components/ui/product-updates-modal.tsx +++ b/apps/app/components/ui/product-updates-modal.tsx @@ -31,7 +31,7 @@ export const ProductUpdatesModal: React.FC = ({ isOpen, setIsOpen }) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -64,15 +64,15 @@ export const ProductUpdatesModal: React.FC = ({ isOpen, setIsOpen }) => { {updates && updates.length > 0 ? ( - updates.map((item: any, index: number) => ( + updates.map((item, index: number) => ( <> -
- +
+ {item.tag_name} {renderLongDateFormat(item.published_at)} {index === 0 && ( - + New )}