Untitled

 avatar
unknown
plain_text
9 months ago
291 B
6
Indexable
setTimeout(() => {
  if (showAlterListType === 'Room' || qtyRooms <= 1) {
    if (summaryScrollRef.current) {
      summaryScrollRef.current.scrollIntoView();
    }
  } else {
    if (hotelSelectedScrollRef.current) {
      hotelSelectedScrollRef.current.scrollIntoView();
    }
  }
}, 500);
Editor is loading...
Leave a Comment