mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
pass leftWidth/rightWidth from TripPlannerPage to DayDetailPanel
This commit is contained in:
@@ -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}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
})()}
|
})()}
|
||||||
|
|||||||
Reference in New Issue
Block a user