minor fix notif
This commit is contained in:
@@ -464,7 +464,7 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
}}
|
||||
/>
|
||||
<RouterLink
|
||||
to={`/detail-notification/${
|
||||
to={`/notification-detail/${
|
||||
notification.id.split('-')[1]
|
||||
}`}
|
||||
target="_blank"
|
||||
|
||||
@@ -81,7 +81,7 @@ const getIconAndColor = (type) => {
|
||||
}
|
||||
};
|
||||
|
||||
const DetailNotificationTab = () => {
|
||||
const NotificationDetailTab = () => {
|
||||
const { notificationId } = useParams(); // Mungkin perlu disesuaikan jika route berbeda
|
||||
const navigate = useNavigate();
|
||||
const [notification, setNotification] = useState(null);
|
||||
@@ -408,4 +408,4 @@ const DetailNotificationTab = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default DetailNotificationTab;
|
||||
export default NotificationDetailTab;
|
||||
Reference in New Issue
Block a user