Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: add user ip in if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos-Gk committed Oct 4, 2023
1 parent 3edbd22 commit c3b5f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/region-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const RegionProvider = ({ children }: RegionProviderProps) => {
const { clients_country, p2p_config } = website_status
const p2p_cookie = getP2PCookie()
setP2P(p2p_cookie, p2p_config)
if (qa_url_region) {
if (qa_url_region || user_ip_country) {
not_available_appgallery_countries.includes(qa_url_region || user_ip_country)
? setAppgallerySupported(false)
: setAppgallerySupported(true)
Expand Down

0 comments on commit c3b5f1d

Please sign in to comment.