Skip to content

Commit

Permalink
fix: ensure asImageWidthSrcSet() correctly extracts thumbnails (ign…
Browse files Browse the repository at this point in the history
…oring the new `id` and `edit` properties)
  • Loading branch information
angeloashmore committed Oct 6, 2023
1 parent 915225d commit ce9d095
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/helpers/asImageWidthSrcSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ export const asImageWidthSrcSet = <
const {
url,
dimensions,
id: _id,
alt: _alt,
copyright: _copyright,
edit: _edit,
...responsiveViews
} = field;

Expand Down

0 comments on commit ce9d095

Please sign in to comment.