mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-25 03:16:37 -05:00
Hide location if null
This commit is contained in:
@@ -18,7 +18,7 @@ export default function LoverPrimaryInfo(props: { lover: Lover }) {
|
||||
return (
|
||||
<Row className="text-ink-700 gap-4 text-sm">
|
||||
<IconWithInfo
|
||||
text={`${lover.city}, ${stateOrCountry}`}
|
||||
text={`${lover.city ?? ''}, ${stateOrCountry ?? ''}`}
|
||||
icon={<IoLocationOutline className="h-4 w-4" />}
|
||||
/>
|
||||
<IconWithInfo
|
||||
|
||||
Reference in New Issue
Block a user