diff --git a/dotcom-rendering/src/components/Avatar.tsx b/dotcom-rendering/src/components/Avatar.tsx index 7ad1ec629d..f0241dc778 100644 --- a/dotcom-rendering/src/components/Avatar.tsx +++ b/dotcom-rendering/src/components/Avatar.tsx @@ -3,8 +3,12 @@ import { breakpoints } from '@guardian/source/foundations'; import { Fragment } from 'react'; import { getSourceImageUrl } from '../lib/getSourceImageUrl_temp_fix'; import { palette } from '../palette'; -import { ImageSizeType } from './Card/components/ImageWrapper'; -import { generateSources, getFallbackSource, ImageWidthType } from './Picture'; +import type { ImageSizeType } from './Card/components/ImageWrapper'; +import { + generateSources, + getFallbackSource, + type ImageWidthType, +} from './Picture'; const picture = css` height: 100%; diff --git a/dotcom-rendering/src/components/Card/components/CardLayout.tsx b/dotcom-rendering/src/components/Card/components/CardLayout.tsx index 5af57aac7f..7b411f2f19 100644 --- a/dotcom-rendering/src/components/Card/components/CardLayout.tsx +++ b/dotcom-rendering/src/components/Card/components/CardLayout.tsx @@ -164,27 +164,25 @@ export const CardLayout = ({ containerType, gapSize = 'small', isBetaContainer, -}: Props) => { - return ( -