Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 97fb624

Browse files
committed
fix: double reservation id on cards
1 parent bda7a57 commit 97fb624

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

apps/ui/components/reservation/ReservationInfoCard.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ export function ReservationInfoCard({
164164
const img = getMainImage(reservationUnit);
165165
const imgSrc = getImageSource(img, "medium");
166166

167-
// Have to make client only because date formatting doesn't work on server side
168167
return (
169168
<Wrapper $type={type}>
170169
{!disableImage && <MainImage src={imgSrc} alt={name} />}
@@ -185,12 +184,6 @@ export function ReservationInfoCard({
185184
</span>
186185
</Subheading>
187186
)}
188-
<Subheading>
189-
{t("reservations:reservationNumber")}:{" "}
190-
<span data-testid="reservation__reservation-info-card__reservationNumber">
191-
{reservation.pk ?? "-"}
192-
</span>
193-
</Subheading>
194187
<Subheading>
195188
{reservationUnit.unit != null
196189
? getTranslation(reservationUnit.unit, "name")

0 commit comments

Comments
 (0)