Gán điểm kết thúc của chặng trước làm điểm khởi hành của chặng sau
This commit is contained in:
Vendored
+1
-1
@@ -38,7 +38,7 @@ function MapTracker() {
|
||||
return null;
|
||||
}
|
||||
export const ExploreMap = ({ onBack, onLogout, user, onViewTour }) => {
|
||||
const { publicTours, fetchPublicTours, setMapCenter } = useTourStore();
|
||||
const { publicTours, fetchPublicTours, fetchTour, setMapCenter } = useTourStore();
|
||||
const [initialViewState] = useState(() => {
|
||||
const saved = localStorage.getItem('map_view_state');
|
||||
if (saved) {
|
||||
|
||||
Reference in New Issue
Block a user