Skip to content

Commit

Permalink
Remount dialog when media changes (#2581)
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored Dec 8, 2022
1 parent 090603e commit 83ea075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/containers/EditMediaDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function EditMediaDialogContainer() {
<DialogCloseAnimation delay={DIALOG_ANIMATION_DURATION}>
{media && (
<EditMediaDialog
key={media._id}
open={open}
media={media}
onEditedMedia={onEditedMedia}
Expand Down

0 comments on commit 83ea075

Please sign in to comment.