add leftWidth/rightWidth centering to PlaceInspector

This commit is contained in:
Gérnyi Márk
2026-03-30 11:15:57 +02:00
parent d90a059dfa
commit 66b00c24e2
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -590,6 +590,8 @@ export default function TripPlannerPage(): React.ReactElement | null {
} catch {}
}}
onUpdatePlace={async (placeId, data) => { try { await tripStore.updatePlace(tripId, placeId, data) } catch (err: unknown) { toast.error(err instanceof Error ? err.message : 'Unknown error') } }}
leftWidth={leftCollapsed ? 0 : leftWidth}
rightWidth={rightCollapsed ? 0 : rightWidth}
/>
)}