fix: Update map with tables fixes

This commit is contained in:
2025-07-09 18:56:18 +03:00
parent 78800ee2ae
commit e2547cb571
87 changed files with 5392 additions and 1410 deletions

View File

@ -19,7 +19,7 @@ export const EditSightPage = observer(() => {
const { getArticles } = articlesStore;
const { id } = useParams();
const { getRuCities } = cityStore;
const { getCities } = cityStore;
let blocker = useBlocker(
({ currentLocation, nextLocation }) =>
@ -33,13 +33,13 @@ export const EditSightPage = observer(() => {
useEffect(() => {
const fetchData = async () => {
if (id) {
await getCities("ru");
await getSightInfo(+id, "ru");
await getSightInfo(+id, "en");
await getSightInfo(+id, "zh");
await getArticles("ru");
await getArticles("en");
await getArticles("zh");
await getRuCities();
}
};
fetchData();