fix(desktop): entry media not updated

This commit is contained in:
DIYgod 2025-06-04 13:02:24 +08:00
parent 0f34e5b267
commit 2a4dde01b2
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ const MediaImpl: FC<MediaProps> = ({
)
}
export const Media: FC<MediaProps> = memo((props) => <MediaImpl {...props} />)
export const Media: FC<MediaProps> = memo((props) => <MediaImpl {...props} key={props.src} />)
const FallbackMedia: FC<MediaProps> = ({ type, mediaContainerClassName, className, ...props }) => (
<div className={className} style={props.style}>