Skip to content

Commit

Permalink
camelcase link image props
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpprieto committed May 6, 2024
1 parent f33a494 commit f39d247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/skeleton/app/lib/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ export function genPreloadImageLinkMeta({
incrementSize,
);
const imagesizes = generateSizes(widths, aspectRatio, crop);
const imagesrcset = generateSrcSet(url, imagesizes, activeLoader);
const imageSrcSet = generateSrcSet(url, imagesizes, activeLoader);

return {
as: 'image',
href: url,
imagesrcset,
imageSrcSet,
rel: 'preload',
imagesizes: width,
imageSizes: width,
tagName: 'link',
};
}

0 comments on commit f39d247

Please sign in to comment.