Merged in fix/linkedReservation-typings (pull request #1431)
fix: linkedReservation typings * fix: correct rinkedReservation typings Approved-by: Christian Andolf Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -20,7 +20,7 @@ export default async function Rooms({
|
||||
return (
|
||||
<section className={styles.rooms}>
|
||||
<div className={styles.room}>
|
||||
{(linkedReservations?.length ?? 0 > 0) ? (
|
||||
{linkedReservations.length ? (
|
||||
<Subtitle color="mainGrey60" type="two">
|
||||
{intl.formatMessage({ id: "Room {roomIndex}" }, { roomIndex: 1 })}
|
||||
</Subtitle>
|
||||
@@ -32,7 +32,7 @@ export default async function Rooms({
|
||||
/>
|
||||
</div>
|
||||
|
||||
{linkedReservations?.map((reservation, idx) => (
|
||||
{linkedReservations.map((reservation, idx) => (
|
||||
<div className={styles.room} key={reservation.confirmationNumber}>
|
||||
<Subtitle color="mainGrey60" type="two">
|
||||
{intl.formatMessage(
|
||||
|
||||
Reference in New Issue
Block a user