Skip to content

Commit

Permalink
Use bylineImageUrl not bylineLargeImageUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyford committed Dec 11, 2024
1 parent cd08a97 commit 35b4e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/MultiByline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const Byline = ({
});
const imageUrl =
imageOverrideUrl ??
tags.find((tag) => tag.id === contributorIds[0])?.bylineLargeImageUrl;
tags.find((tag) => tag.id === contributorIds[0])?.bylineImageUrl;

return (
<div css={bylineWrapperStyles}>
Expand Down
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/MultiBylines.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ThemeVariations = {
title: 'Richard Hillgrove',
id: 'profile/richard-hillgrove',
type: 'contributor',
bylineLargeImageUrl:
bylineImageUrl:
'https://i.guim.co.uk/img/static/sys-images/Guardian/Pix/pictures/2011/5/24/1306249890287/Richard-Hillgrove.jpg?width=100&dpr=2&s=none',
},
],
Expand Down

0 comments on commit 35b4e8b

Please sign in to comment.