Merge pull request #33 from Ayush272002/ticket-buy-page

Ticket buy page Done
This commit is contained in:
2024-10-26 23:37:24 +01:00
committed by GitHub
5 changed files with 96 additions and 55 deletions

View File

@@ -18,7 +18,6 @@ interface Event {
host: string;
}
// Dummy function to fetch events
const fetchEvents = (): Event[] => {
return [
{
@@ -159,7 +158,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 (