feat: update color carrier
This commit is contained in:
@@ -15,11 +15,18 @@ import {
|
||||
RU_COUNTRIES,
|
||||
EN_COUNTRIES,
|
||||
ZH_COUNTRIES,
|
||||
selectedCityStore,
|
||||
} from "@shared";
|
||||
import { useState } from "react";
|
||||
import { useState, useEffect } from "react";
|
||||
|
||||
export const CountryAddPage = observer(() => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
useEffect(() => {
|
||||
selectedCityStore.setIsLocked(true);
|
||||
return () => selectedCityStore.setIsLocked(false);
|
||||
}, []);
|
||||
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const { createCountryData, setCountryData, createCountry } = countryStore;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user