Skip to content

Commit

Permalink
Update distance logic
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed May 19, 2024
1 parent d97bfa8 commit e33bb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/components/molecules/Result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function Result(props: Props) {
textTransform: 'initial',
}}
>
{props.address} {distance && `- ${distance}mi`}
{props.address} {distance != null ? `- ${distance}mi` : null}
</Badge>
) : (
<Tooltip
Expand Down

0 comments on commit e33bb2b

Please sign in to comment.