(url, target)
| 176 | }; |
| 177 | |
| 178 | export const openInNewTab = (url, target) => { |
| 179 | if (target) { |
| 180 | window.open(url, target, "noopener,noreferrer"); |
| 181 | } else { |
| 182 | window.open(url, "_blank", "noopener,noreferrer"); |
| 183 | } |
| 184 | }; |
| 185 | |
| 186 | export const getUserCountry = async () => { |
| 187 | try { |
no outgoing calls
no test coverage detected