From 5989948bf92872456862381be9817d878f8462fd Mon Sep 17 00:00:00 2001 From: Iqbal Rizqi Kurniawan Date: Thu, 20 Nov 2025 11:00:46 +0700 Subject: [PATCH] refactor: simplify log history display in ListNotification component --- .../notification/component/ListNotification.jsx | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/pages/notification/component/ListNotification.jsx b/src/pages/notification/component/ListNotification.jsx index 2fb225c..22e8971 100644 --- a/src/pages/notification/component/ListNotification.jsx +++ b/src/pages/notification/component/ListNotification.jsx @@ -1041,10 +1041,7 @@ const ListNotification = memo(function ListNotification(props) { - {logHistoryData.slice(0, 2).map( - ( - log // Menampilkan 2 log terbaru sebagai pratinjau - ) => ( + {logHistoryData.map((log) => ( - ) - )} -
- -
+ ))}