Skip to content

Commit 0113921

Browse files
committed
fix: news banner hp
1 parent 148cd09 commit 0113921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/components/Actuality/ActuCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const ActuCard = ({ actu }: IActuCard) => {
2727
<AspectRatio w="100%" maxH="300px" ratio={16 / 9} overflow="hidden">
2828
<Image
2929
// @ts-ignore
30-
src={actu?.image.formats.large.url || actu?.image?.url}
30+
src={actu?.image?.formats?.large?.url || actu?.image?.url}
3131
objectFit="cover"
3232
transition="transform ease-in-out 200ms"
3333
_groupHover={{ transform: 'scale(1.05)' }}

0 commit comments

Comments
 (0)