feat: update color carrier

This commit is contained in:
2026-05-05 15:07:18 +03:00
parent e3469763ce
commit 6af95bb449
25 changed files with 620 additions and 80 deletions

View File

@@ -9,6 +9,7 @@ import {
cityStore,
editSightStore,
LoadingSpinner,
selectedCityStore,
} from "@shared";
import { useBlocker, useParams } from "react-router-dom";
@@ -25,6 +26,11 @@ export const EditSightPage = observer(() => {
const { sight, getSightInfo, needLeaveAgree, getRightArticles } = editSightStore;
const { getArticles } = articlesStore;
useEffect(() => {
selectedCityStore.setIsLocked(true);
return () => selectedCityStore.setIsLocked(false);
}, []);
const { id } = useParams();
const { getCities } = cityStore;