From aebf91a442c8c97ca71a4d49166bb2d39a51f54f Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Tue, 24 Jun 2025 14:50:35 +0700 Subject: [PATCH] fix:dashboard --- .../main/dashboard/dashboard-container.tsx | 43 +++++++------------ 1 file changed, 16 insertions(+), 27 deletions(-) diff --git a/components/main/dashboard/dashboard-container.tsx b/components/main/dashboard/dashboard-container.tsx index a1181d0..43c5405 100644 --- a/components/main/dashboard/dashboard-container.tsx +++ b/components/main/dashboard/dashboard-container.tsx @@ -964,34 +964,23 @@ export default function DashboardContainer() { -
-
- + {roleId && Number(roleId) < 3 && ( +
+
+ +
+
+ {dummyData.map((list) => ( +
+

{list.name}

{" "} +

+ {list.value} +

+
+ ))} +
-
- {dummyData.map((list) => ( - //

- // {list.value} - //

-
-

{list.name}

{" "} -

- {list.value} -

-
- ))} -
-
+ )}