mirror of
https://github.com/Nezumi-2711/Sink.git
synced 2026-09-22 05:41:49 +00:00
perf: Clean up unnecessary fields
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user