Sửa đổi dữ liệu của hệ thống theo ARCHITECTURE.md

This commit is contained in:
2026-06-13 19:52:08 +07:00
parent 7fc80a49d0
commit b54707823c
33 changed files with 655 additions and 275 deletions
+3 -3
View File
@@ -87,15 +87,15 @@ export const ExploreMap = ({ onBack, onLogout, user }: { onBack: () => void, onL
<RecenterMap position={userPos} />
{publicTours.map((tour) => {
const place = tour.legs?.[0]?.places?.[0];
if (!place) return null;
const location = tour.legs?.[0]?.locations?.[0];
if (!location) return null;
const tourImage = tour.photos?.[0]?.imageUrl || `https://picsum.photos/seed/${tour.id}/200/200`;
return (
<Marker
key={tour.id}
position={[place.latitude, place.longitude]}
position={[location.latitude, location.longitude]}
icon={L.divIcon({
className: 'custom-bubble',
html: `