From a8d2c2ea398dfc75788bc1e265b94a1e5bb273e5 Mon Sep 17 00:00:00 2001 From: Anna Beddow Date: Mon, 6 Jan 2025 10:55:36 +0000 Subject: [PATCH] Fix linting --- dotcom-rendering/src/components/Card/Card.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dotcom-rendering/src/components/Card/Card.tsx b/dotcom-rendering/src/components/Card/Card.tsx index 893251a198..acd9804b10 100644 --- a/dotcom-rendering/src/components/Card/Card.tsx +++ b/dotcom-rendering/src/components/Card/Card.tsx @@ -570,12 +570,12 @@ export const Card = ({ }; const determinePadContent = ( - isMediaCard: boolean, - isBetaContainer: boolean, - isOnwardContent: boolean, + mediaCard: boolean, + betaContainer: boolean, + onwardContent: boolean, ): 'large' | 'small' | undefined => { - if (isMediaCard && isBetaContainer) return 'large'; - if (isMediaCard || isOnwardContent) return 'small'; + if (mediaCard && betaContainer) return 'large'; + if (mediaCard || onwardContent) return 'small'; return undefined; };