feat: pre-populate heats form with existing data when editing

- Add existingHeats prop to HeatsBanner component
- Load and format existing heats into form fields
- Pass myHeats to HeatsBanner in edit modal
- Users can now edit their heats instead of starting from scratch
This commit is contained in:
Radosław Gierwiało
2025-11-14 18:35:01 +01:00
parent 42f231a602
commit 3ebdd2d7df
2 changed files with 15 additions and 1 deletions

View File

@@ -717,6 +717,7 @@ const EventChatPage = () => {
slug={slug}
onSave={handleHeatsSave}
onDismiss={() => setShowHeatsModal(false)}
existingHeats={myHeats}
/>
</div>
</div>