Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d1a60214a | |||
| fb1fc9231d | |||
| 5903fb5260 |
@@ -36,7 +36,10 @@ export default function AdminDashboard() {
|
||||
{booking.status}
|
||||
</span>
|
||||
{booking.status === "Pending" && (
|
||||
<button className="px-4 py-2 bg-blue-600 text-white rounded-md" onClick={() => setBookings(prev => prev.map(b => b.id === booking.id ? {...b, status: "Confirmed"} : b))}>
|
||||
<button
|
||||
className="px-4 py-2 bg-blue-600 text-white rounded-md cursor-pointer hover:bg-blue-700 transition-colors"
|
||||
onClick={() => setBookings(prev => prev.map(b => b.id === booking.id ? {...b, status: "Confirmed"} : b))}
|
||||
>
|
||||
Process Booking
|
||||
</button>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user