Skip to content

Commit

Permalink
Update us-notices.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gilluminate committed Apr 23, 2024
1 parent 1d909e3 commit f8850c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/fides-js/src/lib/gpp/us-notices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const setMspaSections = ({
* Checks if a given region is in the US based on the provided region string's prefix.
* Also returns true if the region is the US_NATIONAL_REGION.
*/
const isUsRegion = (region: string) => region.toLowerCase().startsWith("us");
const isUsRegion = (region: string) => region?.toLowerCase().startsWith("us");

/**
* For US National, the privacy experience region is still the state where the user came from.
Expand Down

0 comments on commit f8850c1

Please sign in to comment.