Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Jan 23, 2025
1 parent 815e506 commit b95f5b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotcom-rendering/src/components/Masthead/HighlightsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { palette } from '../../palette';
import type { StarRating as Rating } from '../../types/content';
import type { DCRFrontImage } from '../../types/front';
import type { MainMedia } from '../../types/mainMedia';
import { PodcastSeriesImage } from '../../types/tag';

Check failure on line 17 in dotcom-rendering/src/components/Masthead/HighlightsCard.tsx

View workflow job for this annotation

GitHub Actions / lint / check

All imports in the declaration are only used as types. Use `import type`
import { Avatar } from '../Avatar';
import { CardLink } from '../Card/components/CardLink';
import { CardHeadline } from '../CardHeadline';
Expand All @@ -24,8 +25,6 @@ import { secondsToDuration } from '../MediaDuration';
import { Pill } from '../Pill';
import { StarRating } from '../StarRating/StarRating';
import { SvgMediaControlsPlay } from '../SvgMediaControlsPlay';
import { PodcastSeriesImage } from '../../types/tag';
import { PodcastCoverImage } from '../PodcastCoverImage';

export type HighlightsCardProps = {
linkTo: string;
Expand Down

0 comments on commit b95f5b8

Please sign in to comment.