Edit app-9xzmfic2e4g1/src/pages/TripDetailsPage.tsx via Editor
This commit is contained in:
parent
78b491dc8d
commit
abc2e658a0
@ -497,6 +497,7 @@ export default function TripDetailsPage() {
|
||||
setActivePlaceId(id);
|
||||
document.getElementById(`place-${id}`)?.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
}}
|
||||
onAddPlace={(place) => handleAddPlace(selectedDayIndex, place)}
|
||||
/>
|
||||
|
||||
{/* Stats overlay */}
|
||||
@ -540,6 +541,10 @@ export default function TripDetailsPage() {
|
||||
setIsMapSheetOpen(false);
|
||||
document.getElementById(`place-${id}`)?.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
}}
|
||||
onAddPlace={(place) => {
|
||||
handleAddPlace(selectedDayIndex, place);
|
||||
setIsMapSheetOpen(false);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</SheetContent>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user