Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Aug 7, 2024
1 parent a7ce5ae commit 9a7e82a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/(static)/events-news/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const prefetchData = async (queryClient: QueryClient) => {

console.log('***** BODY *****', response.body);
const data = await response.json();
console.log('***** DATA *****', data);
return data?.data.upcoming;
} catch (err) {
throw new Error('Failed to fetch upcoming events');
Expand Down

0 comments on commit 9a7e82a

Please sign in to comment.