fix: Guard EventEditorPage state initialization with loadedEventIdRef and key prop to prevent values resetting to defaults on edit
This commit is contained in:
@@ -490,6 +490,7 @@ export default function App() {
|
||||
/>
|
||||
) : activeTab === 'event-editor' ? (
|
||||
<EventEditorPage
|
||||
key={eventToEdit?.id || 'new-event'}
|
||||
eventToEdit={eventToEdit}
|
||||
skills={skills}
|
||||
user={user}
|
||||
|
||||
Reference in New Issue
Block a user