Skip to content

Commit

Permalink
Merge branch 'main' into eligibility-box-styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougsand authored Jan 15, 2025
2 parents a1d43c9 + 43a050e commit 2afde01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const SearchPage: React.FC<Props> = (props: Props) => {
try {
// Retrieve geocoding data for the given address
const censusApiResponse = await geocode({ address });
// console.log('matchedAddress', censusApiResponse.result.addressMatches[0].matchedAddress);

// Find out if address is eligible and update the page state
// TO-DO: refactor into a function (see Use My Location)
const addressIsEligible = !!(censusApiResponse && findEligibleAddress(censusApiResponse));
Expand Down

0 comments on commit 2afde01

Please sign in to comment.