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);
|
setActivePlaceId(id);
|
||||||
document.getElementById(`place-${id}`)?.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
document.getElementById(`place-${id}`)?.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||||
}}
|
}}
|
||||||
|
onAddPlace={(place) => handleAddPlace(selectedDayIndex, place)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* Stats overlay */}
|
{/* Stats overlay */}
|
||||||
@ -540,6 +541,10 @@ export default function TripDetailsPage() {
|
|||||||
setIsMapSheetOpen(false);
|
setIsMapSheetOpen(false);
|
||||||
document.getElementById(`place-${id}`)?.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
document.getElementById(`place-${id}`)?.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||||
}}
|
}}
|
||||||
|
onAddPlace={(place) => {
|
||||||
|
handleAddPlace(selectedDayIndex, place);
|
||||||
|
setIsMapSheetOpen(false);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</SheetContent>
|
</SheetContent>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user