pass leftWidth/rightWidth from TripPlannerPage to DayDetailPanel

This commit is contained in:
Gérnyi Márk
2026-03-30 00:52:41 +02:00
parent 1e20f024d5
commit d90a059dfa

View File

@@ -542,6 +542,8 @@ export default function TripPlannerPage(): React.ReactElement | null {
lng={geoPlace?.lng}
onClose={() => setShowDayDetail(null)}
onAccommodationChange={loadAccommodations}
leftWidth={leftCollapsed ? 0 : leftWidth}
rightWidth={rightCollapsed ? 0 : rightWidth}
/>
)
})()}