From c1f568d058fd0400010f33a64ef054756c52f67c Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 19 Oct 2023 16:02:24 -0400 Subject: [PATCH] cleanup region switch matching --- src/app/util/helpers.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/util/helpers.js b/src/app/util/helpers.js index 595a34a2..51ca7126 100644 --- a/src/app/util/helpers.js +++ b/src/app/util/helpers.js @@ -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'; } };