diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 2ac4f71..8ea332d 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -97,7 +97,7 @@ function setupMap( function setupSearchBar(zipCodeElement: HTMLParagraphElement) { const searchBar = - document.querySelector("#search-bar"); + document.querySelector("#search-bar")!; const searchInput = document.querySelector("#search-input")!;