Buy ticket interface works

This commit is contained in:
Adwit Mukherji
2024-10-26 23:32:21 +01:00
parent b54f4d92a5
commit 83156d541f
6 changed files with 98 additions and 56 deletions

View File

@@ -17,7 +17,6 @@ interface Event {
host: string;
}
// Dummy function to fetch events
const fetchEvents = (): Event[] => {
return [
{
@@ -147,7 +146,7 @@ const EventsPage: React.FC = () => {
}, []);
const handleEventClick = (eventID: number) => {
router.push(`/events/${eventID}`); // You may replace this with a Link from Next.js
router.push(`/events/${eventID}`); // Route to the specific event page
};
return (