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}
|
||||
<Text maxWidth='18rem' overflowX='hidden' textOverflow="ellipsis"
|
||||
whiteSpace="nowrap"
|
||||
overflow="hidden" display="inline-block" verticalAlign="middle">{contact.status}</Text>
|
||||
overflow="hidden" display="inline-block" verticalAlign="middle">{contact?.status ?? ""}</Text>
|
||||
</Row>
|
||||
<Row width="100%" height="300px">
|
||||
{cover}
|
||||
|
Loading…
Reference in New Issue
Block a user