Skip to content

Commit

Permalink
fix(releases): remounting the title/description form for release when…
Browse files Browse the repository at this point in the history
… release being shown changes
  • Loading branch information
jordanl17 committed Dec 24, 2024
1 parent be255dc commit 9fb32af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export function ReleaseDetailsEditor({release}: {release: ReleaseDocument}): JSX
[timer, updateRelease],
)

return <TitleDescriptionForm release={release} onChange={handleOnChange} />
return <TitleDescriptionForm key={release._id} release={release} onChange={handleOnChange} />
}

0 comments on commit 9fb32af

Please sign in to comment.