All files / src/components/organizer/EventPage EventVenueTab.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28                                    1x 1x                
/**
 * EventVenueTab Component
 *
 * Hosts the venue/catering coordination composer for the event. The legacy mock
 * "Venue", "Catering", and VenueLogistics cards were removed once the composer
 * landed — venue & address are already shown in the public hero + the Settings
 * tab, and the dietary / booking-status mocks were never backed by real data.
 */
 
import React from 'react';
import { Stack } from '@mui/material';
import { VenueCoordinationComposer } from './VenueCoordinationComposer';
import type { Event, EventDetailUI } from '@/types/event.types';
 
interface EventVenueTabProps {
  event: Event | EventDetailUI;
}
 
export const EventVenueTab: React.FC<EventVenueTabProps> = ({ event }) => {
  return (
    <Stack spacing={3}>
      <VenueCoordinationComposer eventCode={event.eventCode} />
    </Stack>
  );
};
 
export default EventVenueTab;