fix: Update map with tables fixes
This commit is contained in:
@@ -68,14 +68,7 @@ class CountryStore {
|
||||
};
|
||||
|
||||
getCountry = async (code: string, language: keyof CashedCountries) => {
|
||||
if (
|
||||
this.country[code]?.[language] &&
|
||||
this.country[code][language] !== null
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
const response = await authInstance.get(`/country/${code}`);
|
||||
const response = await languageInstance(language).get(`/country/${code}`);
|
||||
|
||||
runInAction(() => {
|
||||
if (!this.country[code]) {
|
||||
|
||||
Reference in New Issue
Block a user