mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
profile: safely access status
This commit is contained in:
parent
b29c9639d7
commit
34a9d9660f
@ -84,7 +84,7 @@ export function Profile(props: any) {
|
|||||||
) : null}
|
) : null}
|
||||||
<Text maxWidth='18rem' overflowX='hidden' textOverflow="ellipsis"
|
<Text maxWidth='18rem' overflowX='hidden' textOverflow="ellipsis"
|
||||||
whiteSpace="nowrap"
|
whiteSpace="nowrap"
|
||||||
overflow="hidden" display="inline-block" verticalAlign="middle">{contact.status}</Text>
|
overflow="hidden" display="inline-block" verticalAlign="middle">{contact?.status ?? ""}</Text>
|
||||||
</Row>
|
</Row>
|
||||||
<Row width="100%" height="300px">
|
<Row width="100%" height="300px">
|
||||||
{cover}
|
{cover}
|
||||||
|
Loading…
Reference in New Issue
Block a user