diff --git a/frontend/sportsmatch-app/src/pages/Index.tsx b/frontend/sportsmatch-app/src/pages/Index.tsx index 1bb7f56d..72a42a30 100644 --- a/frontend/sportsmatch-app/src/pages/Index.tsx +++ b/frontend/sportsmatch-app/src/pages/Index.tsx @@ -59,7 +59,9 @@ export default function MainPage() { } const response = await EventsControllerService.getNearbyEvents( requestEventDTO, - {}, + 0, + 20, + undefined, ) if (!Array.isArray(response)) { throw new Error('Failed to fetch event data')