Skip to content

Commit f7c1bea

Browse files
authored
Merge pull request #4163 from LiteFarmOrg/LF-5283/Show_FAO_TAPE_on_Beta
LF-5283: Show FAO TAPE on Beta
2 parents 016d06b + 48fda60 commit f7c1bea

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/webapp/src/containers/Insights/TapeSurvey/getSurveyVersion.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,5 @@ const COUNTRY_VERSIONS = ['AU'];
2424
* 2. Add a country_code to `COUNTRY_VERSIONS`.
2525
*/
2626
export const getSurveyVersion = (countryCode: string | undefined): string | undefined => {
27-
return countryCode && COUNTRY_VERSIONS.includes(countryCode)
28-
? countryCode.toLowerCase()
29-
: undefined;
27+
return countryCode && COUNTRY_VERSIONS.includes(countryCode) ? countryCode.toLowerCase() : 'fao';
3028
};

0 commit comments

Comments
 (0)