diff --git a/components/ComplainsDetails.tsx b/components/ComplainsDetails.tsx index 2049d90..176cf1f 100644 --- a/components/ComplainsDetails.tsx +++ b/components/ComplainsDetails.tsx @@ -429,53 +429,61 @@ export default function ComplainsDetails({ className="flex flex-col mt-4 gap-y-4 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-500 scrollbar-track-gray-100 " > - {data.contents?.map((item: any) => { + {data.contents?.map((item: any, index: any, array: any) => { return ( -
-
-
- {convertFullTime(item.dateTime)}
+ <>
+
- {item.text ? item.text : "-"}
-
- {item.title}
-
+
+
+ {convertFullTime(item.dateTime)}
+
+
+ {item.text ? item.text : "-"}
+
+ {item.title}
+