Skip to content

Commit

Permalink
Set image attributes with newly generated url (#23342)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyip authored Jun 22, 2020
1 parent d3015f4 commit 4d874d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function Image( {
}

setAttributes( {
url,
url: newUrl,
width: undefined,
height: undefined,
sizeSlug: newSizeSlug,
Expand Down

0 comments on commit 4d874d7

Please sign in to comment.