Skip to content

Commit a58f0a3

Browse files
authored
Fix address validation fetch call syntax
1 parent b219b5e commit a58f0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/address-validation/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ async function handleValidationSubmit(event) {
4646

4747
// Validate the address
4848
try {
49+
// prettier-ignore
4950
//@ts-ignore
50-
const result =
51-
await google.maps.addressValidation.AddressValidation.fetchAddressValidation(
51+
const result = await google.maps.addressValidation.AddressValidation.fetchAddressValidation(
5252
{
5353
address: {
5454
regionCode: regionSelect!.value.trim(),

0 commit comments

Comments
 (0)