Fix events location search crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
1412385382
commit
91cdf1eb5a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ const AutosuggestLocation: React.FC<IAutosuggestLocation> = ({ id }) => {
|
||||||
<Icon src={ADDRESS_ICONS[location.type] || mapPinIcon} />
|
<Icon src={ADDRESS_ICONS[location.type] || mapPinIcon} />
|
||||||
<Stack>
|
<Stack>
|
||||||
<Text>{location.description}</Text>
|
<Text>{location.description}</Text>
|
||||||
<Text size='xs' theme='muted'>{[location.street, location.locality, location.country].filter(val => val.trim()).join(' · ')}</Text>
|
<Text size='xs' theme='muted'>{[location.street, location.locality, location.country].filter(val => val?.trim()).join(' · ')}</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
</HStack>
|
</HStack>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue