diff --git a/src/containers/Landing/Quotes/Quotes.tsx b/src/containers/Landing/Quotes/Quotes.tsx index bfcef940fe9196b1f9966f2c6101dfe9aadc303c..aaf4389c0e979dc63745e75d7264df621551241f 100644 --- a/src/containers/Landing/Quotes/Quotes.tsx +++ b/src/containers/Landing/Quotes/Quotes.tsx @@ -68,12 +68,13 @@ const Quote = (props: QuoteProps): JSX.Element => { const Quotes = (): JSX.Element => { return ( - // @ts-expect-error <Carousel showArrows> {quotes.map((speakerId) => { const quoteInfo = getSpeakerById(speakerId) if (quoteInfo?.quote !== undefined) { return <Quote key={`quote-${speakerId}`} {...quoteInfo} /> + } else { + return <></> } })} </Carousel>