diff --git a/components/Blocks/Accordion/index.tsx b/components/Blocks/Accordion/index.tsx index 16f2ea0dd..8828555d1 100644 --- a/components/Blocks/Accordion/index.tsx +++ b/components/Blocks/Accordion/index.tsx @@ -26,7 +26,7 @@ export default function AccordionSection({ accordion, title }: AccordionProps) { {title && } diff --git a/components/ContentType/HotelPage/Rooms/index.tsx b/components/ContentType/HotelPage/Rooms/index.tsx index 72714c1ec..b7ac43a90 100644 --- a/components/ContentType/HotelPage/Rooms/index.tsx +++ b/components/ContentType/HotelPage/Rooms/index.tsx @@ -17,7 +17,7 @@ import { HotelHashValues } from "@/types/components/hotelPage/tabNavigation" export function Rooms({ rooms }: RoomsProps) { const intl = useIntl() - const showToggleButton = rooms.length > 4 + const showToggleButton = rooms.length > 3 const [allRoomsVisible, setAllRoomsVisible] = useState(!showToggleButton) const scrollRef = useRef(null) @@ -62,7 +62,7 @@ export function Rooms({ rooms }: RoomsProps) { preamble={null} /> {mappedRooms.map(({ id, images, title, subtitle, popularChoice }) => (