Skip to content
Snippets Groups Projects
Commit 407de583 authored by Kamile Liucija Vainiute's avatar Kamile Liucija Vainiute
Browse files

lint

parent 65e8d93b
No related branches found
No related tags found
No related merge requests found
Pipeline #697 passed
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment