feat(event-form): update EventForm to support editing events with eventId and pre-fill form fields

This commit is contained in:
micha 2025-06-17 20:11:25 +02:00
parent 1fd3e09774
commit 18a1ffbc11
2 changed files with 90 additions and 18 deletions

View file

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