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