fix(sw-350): cleanups and PR comment fixes

This commit is contained in:
Pontus Dreij
2024-10-15 09:34:52 +02:00
parent fcd226973c
commit cae11a80a7
4 changed files with 18 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ export default function FormContent({
<Caption color="red" textTransform="bold">
{intl.formatMessage(
{ id: "booking.nights" },
{ totalNights: nights }
{ totalNights: nights > 0 ? nights : 0 }
)}
</Caption>
<DatePicker onToggleOpen={setIsDatePickerOpen} />