From 60c9af32142856521a66829fce9489db86a3b35f Mon Sep 17 00:00:00 2001 From: Pattadon Date: Fri, 13 Sep 2024 14:02:43 +0700 Subject: [PATCH] Refactor notification page UI components, remove unnecessary imports and update notification card layout --- src/app/notification/page.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/app/notification/page.tsx b/src/app/notification/page.tsx index 054ef48..40a0187 100644 --- a/src/app/notification/page.tsx +++ b/src/app/notification/page.tsx @@ -19,22 +19,24 @@ export default function Notification() { - {sampleNotifications.map((notification, index) => ( -
-
- -
-

- {notification.message} -

-

{notification.time}

+ {sampleNotifications.map((notification, _) => ( +
+
+ +
+

+ {notification.message} +

+

+ {notification.time} +

+
+
- -
- ))} + ))}