From 0edd90732e00c1d396694ea21dd55d53f853e04e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 May 2026 12:13:08 -0400 Subject: [PATCH] fix client book --- apps/public-site/src/app/book/BookClient.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/public-site/src/app/book/BookClient.tsx b/apps/public-site/src/app/book/BookClient.tsx index 04607f6..0fb5fbd 100644 --- a/apps/public-site/src/app/book/BookClient.tsx +++ b/apps/public-site/src/app/book/BookClient.tsx @@ -257,7 +257,7 @@ export default function BookClient({ language }: { language: PublicSiteLanguage const nextStart = !current.startDate || current.startDate < minStart ? minStart : current.startDate const nextEnd = !current.endDate || current.endDate <= nextStart ? minEnd : current.endDate if (nextStart === current.startDate && nextEnd === current.endDate) return current - return { startDate: nextStart, endDate: nextEnd } + return { ...current, startDate: nextStart, endDate: nextEnd } }) }, [vehicle?.nextAvailableAt])