@@ -9,7 +9,7 @@ import type { Coordinates } from './components/GoogleMap'
99import type { PlaceSelection } from './components/PlacesSearch'
1010import { loadGoogleMaps , adrAddressForPlaceId , formatCoordinates } from './lib/googleMaps'
1111import { emptyApplication , type ApplicationData , type VenueAddress } from './types'
12- import { capitalForCountry , canonicalSubdivision } from './data/reference'
12+ import { capitalForCountry } from './data/reference'
1313import { VARIANTS , type Variant } from './variants'
1414
1515interface Props {
@@ -57,7 +57,7 @@ export function Flow({ variant, onExit }: Props) {
5757 addressLine1 : sel . address . addressLine1 ,
5858 addressLine2 : sel . address . addressLine2 ,
5959 municipality : sel . address . municipality ,
60- administrativeArea : canonicalSubdivision ( d . country , sel . address . administrativeArea ) ,
60+ administrativeArea : sel . address . administrativeArea ,
6161 postcode : sel . address . postcode ,
6262 coordinates : formatCoordinates ( sel . lat , sel . lng ) ,
6363 } ,
@@ -84,7 +84,7 @@ export function Flow({ variant, onExit }: Props) {
8484 addressLine1 : adr . addressLine1 ,
8585 addressLine2 : adr . addressLine2 ,
8686 municipality : adr . municipality ,
87- administrativeArea : canonicalSubdivision ( d . country , adr . administrativeArea ) ,
87+ administrativeArea : adr . administrativeArea ,
8888 postcode : adr . postcode ,
8989 coordinates : formatCoordinates ( c . lat , c . lng ) ,
9090 } ,
0 commit comments