Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Jan 6, 2025
1 parent 9cdea8a commit a8d2c2e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dotcom-rendering/src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit a8d2c2e

Please sign in to comment.