Skip to content

Commit

Permalink
fix zips without bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
eselkin committed Dec 27, 2024
1 parent c8d41c0 commit 37e15d2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ export const genBBoxFromAddress = (query, expandedRadius = false) => {
];
}
const radius = radiusFromBoundingBox(
features,
features?.[0]?.bbox
? features
: [{ ...features[0], bbox: minBounds }],
query?.facilityType === 'provider',
);
dispatch({
Expand Down

0 comments on commit 37e15d2

Please sign in to comment.