Skip to content

Commit

Permalink
fix 0 render on empty list boarding
Browse files Browse the repository at this point in the history
  • Loading branch information
helenmak committed Oct 10, 2023
1 parent e99235d commit e9f8acc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function ModalBookingsList(props) {
</div>
</div>

{bookings && bookings.length && (
{bookings && Boolean(bookings.length) && (
<div className={styles.bookingsWrapper} ref={animationParent}>
{bookings.map(booking => (
<SlidingItem
Expand Down

0 comments on commit e9f8acc

Please sign in to comment.