diff --git a/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx b/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx index f890db360..e8cf4b1f4 100644 --- a/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx @@ -29,7 +29,7 @@ export default function MeetingRoomCard({ room }: MeetingRoomCardProps) { }) const maxSeatings = Math.max(...roomSeatings) - const image = room.content.images[0] + const image = room.content.images.at(0) function handleShowMore() { setOpened((state) => !state) @@ -38,8 +38,8 @@ export default function MeetingRoomCard({ room }: MeetingRoomCardProps) { return (
{image.metaData.altText ) } + +const fallbackImage = + "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="