diff --git a/src/views/Home/Announcements/Carousel/index.tsx b/src/views/Home/Announcements/Carousel/index.tsx index 12a452a5b4..0e96d4a64b 100644 --- a/src/views/Home/Announcements/Carousel/index.tsx +++ b/src/views/Home/Announcements/Carousel/index.tsx @@ -134,9 +134,9 @@ const Carousel = ({ items }: CarouselProps) => { ) // const hasTranslaton = translatedItem != null - const title = (translatedItem?.title ?? item.title) || '' - const itemLink = (translatedItem?.link ?? item.link) || '' - const itemContent = translatedItem?.content ?? item.content + const title = translatedItem?.title || item.title || '' + const itemLink = translatedItem?.link || item.link || '' + const itemContent = translatedItem?.content || item.content || '' const isFirstFold = i === 0 return (