fix(SW-194): small fixes

This commit is contained in:
Matilda Landström
2024-10-16 10:02:54 +02:00
parent 510311a0dc
commit e52391f120
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ import { HotelHashValues } from "@/types/components/hotelPage/tabNavigation"
export function Rooms({ rooms }: RoomsProps) {
const intl = useIntl()
const showToggleButton = rooms.length > 5
const showToggleButton = rooms.length > 6
const [allRoomsVisible, setAllRoomsVisible] = useState(!showToggleButton)
const scrollRef = useRef<HTMLDivElement>(null)