Skip to content

Commit

Permalink
fix: moves region tag (#1747)
Browse files Browse the repository at this point in the history
Possible malfunction due to bad region tag nesting (i hope)
  • Loading branch information
willum070 committed May 28, 2024
1 parent 790f49f commit 8072203
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/place-autocomplete-data-simple/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ async function init() {
// @ts-ignore
request.sessionToken = token;
// [END maps_place_autocomplete_data_simple_token]

// [END maps_place_autocomplete_data_simple_request]
// [START maps_place_autocomplete_data_simple_get_suggestions]
// Fetch autocomplete suggestions.
const { suggestions } = await AutocompleteSuggestion.fetchAutocompleteSuggestions(request);
// [END maps_place_autocomplete_data_simple_request]

const title = document.getElementById('title') as HTMLElement;
title.appendChild(document.createTextNode('Query predictions for "' + request.input + '":'));
Expand Down Expand Up @@ -77,4 +76,4 @@ async function init() {

init();
// [END maps_place_autocomplete_data_simple]
export { };
export { };

0 comments on commit 8072203

Please sign in to comment.