From 952b3c38edb2115cbaa051f9ce2e1f089fa3d9d8 Mon Sep 17 00:00:00 2001 From: Anna Beddow Date: Mon, 6 Jan 2025 14:54:57 +0000 Subject: [PATCH] Fix linting issues --- dotcom-rendering/src/components/CardHeadline.tsx | 1 + dotcom-rendering/src/components/FlexibleGeneral.tsx | 2 +- dotcom-rendering/src/components/FlexibleSpecial.tsx | 2 +- dotcom-rendering/src/components/Kicker.tsx | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dotcom-rendering/src/components/CardHeadline.tsx b/dotcom-rendering/src/components/CardHeadline.tsx index 1ac76ec133..002ae14062 100644 --- a/dotcom-rendering/src/components/CardHeadline.tsx +++ b/dotcom-rendering/src/components/CardHeadline.tsx @@ -41,6 +41,7 @@ import type { PodcastSeriesImage } from '../types/tag'; import { Byline } from './Byline'; import { Kicker } from './Kicker'; import { QuoteIcon } from './QuoteIcon'; + type Props = { /** The text shown */ headlineText: string; diff --git a/dotcom-rendering/src/components/FlexibleGeneral.tsx b/dotcom-rendering/src/components/FlexibleGeneral.tsx index 8fd791f5ee..c990c50df9 100644 --- a/dotcom-rendering/src/components/FlexibleGeneral.tsx +++ b/dotcom-rendering/src/components/FlexibleGeneral.tsx @@ -1,4 +1,4 @@ -import { ArticleDesign } from 'src/lib/articleFormat'; +import { ArticleDesign } from '../lib/articleFormat'; import { isMediaCard } from '../lib/cardHelpers'; import { palette } from '../palette'; import type { BoostLevel } from '../types/content'; diff --git a/dotcom-rendering/src/components/FlexibleSpecial.tsx b/dotcom-rendering/src/components/FlexibleSpecial.tsx index 3375956593..80eca2cab2 100644 --- a/dotcom-rendering/src/components/FlexibleSpecial.tsx +++ b/dotcom-rendering/src/components/FlexibleSpecial.tsx @@ -1,4 +1,4 @@ -import { ArticleDesign } from 'src/lib/articleFormat'; +import { ArticleDesign } from '../lib/articleFormat'; import { isMediaCard } from '../lib/cardHelpers'; import type { BoostLevel } from '../types/content'; import type { diff --git a/dotcom-rendering/src/components/Kicker.tsx b/dotcom-rendering/src/components/Kicker.tsx index 632ef9d828..885f66a54b 100644 --- a/dotcom-rendering/src/components/Kicker.tsx +++ b/dotcom-rendering/src/components/Kicker.tsx @@ -108,7 +108,6 @@ export const Kicker = ({ loading={'lazy'} aspectRatio={'1:1'} /> - s )} {showPulsingDot && (