Skip to content

Commit

Permalink
cleanup region switch matching
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Oct 19, 2023
1 parent fd91681 commit c1f568d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/util/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,15 @@ export const getRegionValue = () => {
// qualify region setting and return region code
switch ( region ) {
case 'BR':
return region;
break;
case 'MX':
case 'CO':
case 'CL':
return region;
break;
case 'US':
case false:
default:
return '';
return 'default';
}
};

Expand Down

0 comments on commit c1f568d

Please sign in to comment.