feat(event-form): add type prop to EventForm for create/edit functionality

This commit is contained in:
micha 2025-06-12 13:25:44 +02:00
parent 7bccd3405d
commit ae7079dbfa
2 changed files with 19 additions and 9 deletions

View file

@ -10,7 +10,7 @@ export default function NewEvent() {
<CardHeader className='p-0 m-0 gap-0' />
<CardContent>
<EventForm />
<EventForm type='create' />
</CardContent>
</Card>
</div>