upd : dashboard admin

Deskripsi:
- tampilan detail pengaduan

No Issues
This commit is contained in:
2025-11-10 17:47:32 +08:00
parent 21af3e3310
commit fbf00a55da
5 changed files with 311 additions and 0 deletions

View File

@@ -115,7 +115,9 @@ type StatusKey =
| "ditolak"
| "selesai"
| "semua";
function ListPengaduan({ status }: { status: StatusKey }) {
const navigate = useNavigate();
const [page, setPage] = useState(1);
const [value, setValue] = useState("");
const { data, mutate, isLoading } = useSwr("/", () =>
@@ -196,6 +198,7 @@ function ListPengaduan({ status }: { status: StatusKey }) {
borderColor: "rgba(100,100,100,0.2)",
boxShadow: "0 0 20px rgba(0,255,200,0.08)",
}}
onClick={() => navigate(`/scr/dashboard/pengaduan/detail?id=${v.id}`)}
>
<Stack gap="md">
<Flex align="center" justify="space-between">