Skip to content

Commit

Permalink
deploy: f13e277
Browse files Browse the repository at this point in the history
  • Loading branch information
willum070 committed Sep 12, 2024
1 parent b15ccf1 commit 1d60669
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/place-autocomplete-data-session/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ async function makeAcRequest(input) {
// Create a link for the place, add an event handler to fetch the place.
const a = document.createElement('a');
a.addEventListener('click', () => {
onPlaceSelected(placePrediction.toPlace());
onPlaceSelected(placePrediction!.toPlace());
});
a.innerText = placePrediction.text.toString();
a.innerText = placePrediction!.text.toString();

// Create a new list element.
const li = document.createElement('li');
Expand Down
4 changes: 2 additions & 2 deletions samples/place-autocomplete-data-session/playground/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ async function makeAcRequest(input) {
// Create a link for the place, add an event handler to fetch the place.
const a = document.createElement("a");
a.addEventListener("click", () => {
onPlaceSelected(placePrediction.toPlace());
onPlaceSelected(placePrediction!.toPlace());
});
a.innerText = placePrediction.text.toString();
a.innerText = placePrediction!.text.toString();

// Create a new list element.
const li = document.createElement("li");
Expand Down

0 comments on commit 1d60669

Please sign in to comment.