Skip to content

Commit

Permalink
fix(media-library): pass correct value to Asset component (#3140)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Jan 26, 2020
1 parent b431348 commit b1026c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-file/src/withFileControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b1026c9

Please sign in to comment.