Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/app/sponsors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ export default async function SponsorsPage() {
const event = await EventService.getLatest();
const edition = event ? event.id : 33;

// const companies = event
// ? await CompanyService.getCompanies(edition.toString())
// : [];
const companies: any[] = []; // Placeholder for companies data
const companies = event
? await CompanyService.getCompanies(edition.toString())
: [];

if (!event || !companies) {
return <BlankPageMessage message="Could not fetch companies data." />;
Expand Down
Loading