diff --git a/src/components/Poster/index.tsx b/src/components/Poster/index.tsx index 2ed2cfe..4aac752 100644 --- a/src/components/Poster/index.tsx +++ b/src/components/Poster/index.tsx @@ -4,10 +4,10 @@ interface PosterProps { src: string; width?: number; height?: number; - rank: number | null; + rank?: number | null; } -export const Poster = ({ src, width = 100, height = (4 / 3) * width, rank }: PosterProps) => { +export const Poster = ({ src, width = 100, height = (4 / 3) * width, rank = null }: PosterProps) => { return ( poster