Skip to content

Commit

Permalink
Update assetHelper.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
fpasquet committed Apr 14, 2024
1 parent 031fe05 commit 8741a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/assetHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const getCoverPath = ({
};

export const getSrcSet = (options: Parameters<typeof getCoverPath>[0]): string =>
`${getCoverPath(options)} x${options.pixelRatio}`;
`${getCoverPath(options)} ${options.pixelRatio}x`;

export const getCover = (post: TransformedPostDataWithTransformedAuthors, format: ImageFormatEnum): PictureProps => ({
sources: [
Expand Down

0 comments on commit 8741a01

Please sign in to comment.