Skip to content

Commit

Permalink
Remove: console.log from UserProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiganchev-7DIGIT committed Jun 28, 2024
1 parent fefe496 commit c18046b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/blocks/UserProfile/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const { AMAZON_S3_BUCKET } = Config;
const fetchCountry = async () => {
const { data } = await countrySvc.getActiveCountries();
const currentCountryId = await localStorage.getItem("country_id");
console.log("currentCountryId", currentCountryId);
const currentCountry = data.find((x) => x.country_id === currentCountryId);
return currentCountry?.alpha2 === "KZ" ? true : false;
};
Expand Down Expand Up @@ -49,7 +48,6 @@ export const UserProfile = ({ navigation }) => {
}, []);

const { data: isKzCountry } = useQuery(["is-kz-country"], fetchCountry);
console.log(isKzCountry);

const { isTmpUser, handleRegistrationModalOpen } = useContext(Context);
const [languagesData, setLanguagesData] = useState({
Expand Down

0 comments on commit c18046b

Please sign in to comment.