feat(event-form): update EventForm to support editing events with eventId and pre-fill form fields
This commit is contained in:
parent
1fd3e09774
commit
18a1ffbc11
2 changed files with 90 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue