added vendor to schema, have not migrated
This commit is contained in:
@@ -45,7 +45,10 @@ export default function EventInfo({ event }: EventProps) {
|
||||
<p className='text-sm'>Venue: {event.venue ? event.venue.name : 'No location yet'}</p>
|
||||
{daysLeft !== null && (
|
||||
<p className='text-sm mt-2 font-medium text-brand-primary-400'>
|
||||
{daysLeft} days until this event!
|
||||
{daysLeft > 0
|
||||
? `${daysLeft} days until this event!`
|
||||
: daysLeft < 0 && 'This event has passed'
|
||||
}
|
||||
</p>
|
||||
)}
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user