Skip to content

Commit

Permalink
Correct types (#13016)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 authored Dec 17, 2024
1 parent 94387a9 commit acc3eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions dotcom-rendering/src/components/FrontCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const FrontCard = (props: Props) => {
showLivePlayable: trail.showLivePlayable,
showMainVideo: trail.showMainVideo,
galleryCount: trail.galleryCount,
podcastImage: trail.podcastImage,
};

return Card({ ...defaultProps, ...cardProps });
Expand Down
4 changes: 2 additions & 2 deletions dotcom-rendering/src/types/front.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { BoostLevel, Image, StarRating } from './content';
import type { FooterType } from './footer';
import type { FEFormat, FENavType } from './frontend';
import type { MainMedia } from './mainMedia';
import type { FETagType } from './tag';
import type { FETagType, PodcastSeriesImage } from './tag';
import type { Territory } from './territory';
import type { FETrailType, TrailType } from './trails';

Expand Down Expand Up @@ -348,8 +348,8 @@ export type DCRFrontCard = {
branding?: Branding;
slideshowImages?: DCRSlideshowImage[];
showMainVideo?: boolean;
podcastImageSrc?: string;
galleryCount?: number;
podcastImage?: PodcastSeriesImage;
};

export type DCRSlideshowImage = {
Expand Down

0 comments on commit acc3eca

Please sign in to comment.