Merge branch 'master' into dev

This commit is contained in:
ccbikai 2024-06-08 17:04:08 +08:00
commit d2c83e43d4

View File

@ -9,7 +9,9 @@ WorldMapTopoJSON.objects.states.geometries.map((state) => {
state.id = state.name || ''
if (country) {
state.id = country.id || ''
state.properties = country.properties
state.properties = {
name: country.properties?.name || '',
}
}
return state
})