import {getGoogleMapsUrl, getLocationText} from 'common/geodb'
import {Profile} from 'common/profiles/profile'
import React from 'react'
import {IoLocationOutline} from 'react-icons/io5'
import {IconWithInfo} from 'web/components/icons'
import {CustomLink} from 'web/components/links'
export function ProfileLocation(props: {profile: Profile; prefix?: string}) {
const {profile, prefix} = props
const text = getLocationText(profile, prefix)
if (!text) {
return null
}
return (
}
>
{text}
)
}