mirror of
https://github.com/0xShay/ticketchain.git
synced 2026-01-11 13:13:25 +00:00
Merge pull request #33 from Ayush272002/ticket-buy-page
Ticket buy page Done
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user