fix(media-library): pass correct value to Asset component (#3140)

This commit is contained in:
Erez Rokah 2020-01-26 10:04:45 -08:00 committed by GitHub
parent b431348083
commit b1026c980c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ export default function withFileControl({ forImage } = {}) {
<MultiImageWrapper>
{value.map(val => (
<ImageWrapper key={val}>
<ImageAsset getAsset={getAsset} value={value} />
<ImageAsset getAsset={getAsset} value={val} />
</ImageWrapper>
))}
</MultiImageWrapper>