Add key prop to StudioEditPanel to force remount

This fixes an issue where newly added Stash IDs wouldn't appear in the
component until the page was refreshed, by forcing a remount when the
studio data changes.
This commit is contained in:
RyanAtNight 2025-12-29 15:04:55 -08:00
parent 3e5ac408fa
commit 7a9510a73d

View file

@ -492,6 +492,7 @@ const StudioPage: React.FC<IProps> = ({ studio, tabKey }) => {
)}
{isEditing ? (
<StudioEditPanel
key={studio.id}
studio={studio}
onSubmit={onSave}
onCancel={() => toggleEditing()}