Skip to content

Commit a631e10

Browse files
authored
Merge pull request #2439 from CDCgov/dev
Dev
2 parents e46d2be + c9ecf5f commit a631e10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/map/src/helpers/addUIDs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ const handleUSLocation = (row: DataRow, geoColumn: string, displayAsHex: boolean
8080

8181
const handleWorldLocation = (row: DataRow, geoColumn: string, isWorldGeocodeType: boolean): string | null => {
8282
const geoName = row[geoColumn]
83+
if (!geoName) return null
84+
8385
// Use case-insensitive matching for world countries to handle various input formats
8486
let uid = memoizedFindUID(geoName, 'country', true)
8587
if (!uid && (isWorldGeocodeType || geoName)) {

0 commit comments

Comments
 (0)