+
diff --git a/src/pages/notification/detail/UserHistory.jsx b/src/pages/notification/detail/UserHistory.jsx
index 9ec87bb..8170ee5 100644
--- a/src/pages/notification/detail/UserHistory.jsx
+++ b/src/pages/notification/detail/UserHistory.jsx
@@ -1,14 +1,37 @@
import React from 'react';
import { Button, Row, Col, Card, Badge, Typography, Space, Divider } from 'antd';
-import { SendOutlined, MobileOutlined, CheckCircleFilled, ArrowLeftOutlined } from '@ant-design/icons';
+import {
+ SendOutlined,
+ MobileOutlined,
+ CheckCircleFilled,
+ ArrowLeftOutlined,
+} from '@ant-design/icons';
const { Text } = Typography;
// Dummy data for user history
const userHistoryData = [
- { id: 1, name: 'John Doe', phone: '081234567890', status: 'Delivered', timestamp: '04-11-2025 11:40 WIB' },
- { id: 2, name: 'Jane Smith', phone: '087654321098', status: 'Delivered', timestamp: '04-11-2025 11:41 WIB' },
- { id: 3, name: 'Peter Jones', phone: '082345678901', status: 'Delivered', timestamp: '04-11-2025 11:42 WIB' },
+ {
+ id: 1,
+ name: 'John Doe',
+ phone: '081234567890',
+ status: 'Delivered',
+ timestamp: '04-11-2025 11:40 WIB',
+ },
+ {
+ id: 2,
+ name: 'Jane Smith',
+ phone: '087654321098',
+ status: 'Delivered',
+ timestamp: '04-11-2025 11:41 WIB',
+ },
+ {
+ id: 3,
+ name: 'Peter Jones',
+ phone: '082345678901',
+ status: 'Delivered',
+ timestamp: '04-11-2025 11:42 WIB',
+ },
];
const UserHistory = ({ notification, onBack }) => {
@@ -18,7 +41,9 @@ const UserHistory = ({ notification, onBack }) => {
} onClick={onBack} />
- User History Notification
+
+ History User Notification
+
{notification.title} - {notification.issue}
@@ -27,25 +52,34 @@ const UserHistory = ({ notification, onBack }) => {
- {userHistoryData.map(user => (
-
+ {userHistoryData.map((user) => (
+
{user.name}
|
- {user.phone}
+
+ {user.phone}
+
|
- Success Delivered at {user.timestamp}
+
+ Success Delivered at {user.timestamp}
+
- }>Resend
+ }>
+ Resend
+