Skip to content

Commit

Permalink
fix(gatsby-transform-url): imgixParams being incorrectly passed aroun…
Browse files Browse the repository at this point in the history
…d in fluid images
  • Loading branch information
frederickfogerty committed Aug 27, 2020
1 parent 53aa68d commit 450708e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-transform-url/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export function buildFluidImageData(

return buildImageData(
url,
{ imgixParams, ar: aspectRatioFloat },
{ ...imgixParams, ar: aspectRatioFloat },
{ ...options, type: 'fluid' },
);
}

0 comments on commit 450708e

Please sign in to comment.