diff --git a/app/activeEvents/page.tsx b/app/activeEvents/page.tsx index 0317819..3f8f6d3 100644 --- a/app/activeEvents/page.tsx +++ b/app/activeEvents/page.tsx @@ -53,7 +53,10 @@ export default function Page() { {events.map(event => ( - + ))} diff --git a/components/EventListingCard/EventListingCard.tsx b/components/EventListingCard/EventListingCard.tsx index 1ffb1e1..7a6445d 100644 --- a/components/EventListingCard/EventListingCard.tsx +++ b/components/EventListingCard/EventListingCard.tsx @@ -1,7 +1,11 @@ import React from 'react'; +import { PerformanceType } from '@/types/schema'; import { EventListing } from './styles'; -import { PerformanceType } from '@/types/schema' -export default function EventListingCard({ performance_type }: { performance_type: PerformanceType }) { +export default function EventListingCard({ + performance_type, +}: { + performance_type: PerformanceType; +}) { return {performance_type} ; } diff --git a/types/schema.d.ts b/types/schema.d.ts index ae3f160..7fe8c2a 100644 --- a/types/schema.d.ts +++ b/types/schema.d.ts @@ -63,7 +63,7 @@ export type PerformerType = 'Solo' | 'Duo' | 'Band'; export interface Availabilities { availability_id: UUID; facility_id: UUID; - name: string; + name: string; additional_info: string; }