From 407de583fc389ef06d955f2d611e965ff11cd4ca Mon Sep 17 00:00:00 2001 From: Kamile Vainiute <kamile@igem.org> Date: Sun, 25 Jul 2021 21:48:25 +0300 Subject: [PATCH] lint --- src/containers/Landing/Quotes/Quotes.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/Landing/Quotes/Quotes.tsx b/src/containers/Landing/Quotes/Quotes.tsx index bfcef94..aaf4389 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> -- GitLab