Skip to content

Commit

Permalink
Fix for las vegas layout
Browse files Browse the repository at this point in the history
  • Loading branch information
marcokreeft87 committed Nov 16, 2023
1 parent 3d57dd7 commit d71b101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ export const getCircuitName = (location: Location) => {
circuitName = exception[0].name;
}

if(location.country == 'USA' && location.locality != 'Austin')
if((location.country == 'USA' || location.country == 'United States') && location.locality != 'Austin')
{
circuitName = location.locality;
circuitName = location.locality.replace(" ","_");
}

if(location.country == 'Italy' && location.locality == 'Imola')
Expand Down

0 comments on commit d71b101

Please sign in to comment.