diff --git a/src/components/Event/EventCarpools.tsx b/src/components/Event/EventCarpools.tsx index 2309730..345f622 100644 --- a/src/components/Event/EventCarpools.tsx +++ b/src/components/Event/EventCarpools.tsx @@ -4,10 +4,10 @@ import { useCallback, useState } from 'react'; import { createCarpool } from '../api'; import { lightgrey } from '../colors'; import { useMe } from '../hooks'; -import { ICarpool, IEvent } from '../types'; +import { IEvent } from '../types'; import UIButton from '../UI/UIButton'; -function CarpoolRow({ carpool }: { carpool: ICarpool }) { +function CarpoolRow({ carpool }: { carpool: IEvent['carpools'][0] }) { const PADDING = '1rem'; return (