mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
remove country code
This commit is contained in:
parent
19daeda170
commit
6ed0192d9d
1 changed files with 0 additions and 2 deletions
|
|
@ -65,7 +65,6 @@ function calculateDistance(
|
|||
function determineRegion(data: {
|
||||
latitude: number;
|
||||
longitude: number;
|
||||
country_code: string;
|
||||
}): Region {
|
||||
const { latitude, longitude } = data;
|
||||
|
||||
|
|
@ -116,7 +115,6 @@ export async function detectRegion(): Promise<Region> {
|
|||
const detectedRegion = determineRegion({
|
||||
latitude,
|
||||
longitude,
|
||||
country_code: backupData.country,
|
||||
});
|
||||
if (!store.userPicked) {
|
||||
store.setRegion(detectedRegion);
|
||||
|
|
|
|||
Loading…
Reference in a new issue