From 4b2656cea619cc10a38ac97baaae0744addef14e Mon Sep 17 00:00:00 2001 From: Suvodip Date: Fri, 4 Apr 2025 19:58:51 +0530 Subject: [PATCH] s11 --- src/components/Ticket.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Ticket.tsx b/src/components/Ticket.tsx index ea2975e..eb8d666 100644 --- a/src/components/Ticket.tsx +++ b/src/components/Ticket.tsx @@ -28,7 +28,7 @@ interface Message { user_type: string; } -const API_URL = 'http://localhost:2058/host-api/v1/ticket/index.php'; +const API_URL = 'http://localhost:2058/host-api/app/v1/ticket/index.php'; function Ticketing() { const [tickets, setTickets] = useState([]); @@ -206,8 +206,8 @@ function Ticketing() { { - tableHeaders.map((thead) => ( - {thead} + tableHeaders.map((thead, index) => ( + {thead} )) } @@ -217,7 +217,7 @@ function Ticketing() { { tableData.map((data, index) => ( - + {data.id} {data.title} {data.description}