mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
invite: prevent interface crash
We're accessing invite.ship when we don't have invite. This stubs that out.
This commit is contained in:
parent
58faf16872
commit
a91f96751b
@ -124,10 +124,7 @@ export function InviteItem(props: InviteItemProps) {
|
||||
<JoinSkeleton status={status} gapY="3">
|
||||
<Row py="1" alignItems="center">
|
||||
<Icon display="block" color="blue" icon="Bullet" mr="2" />
|
||||
<Text mr="1">You are joining a DM with</Text>
|
||||
<Text mr="1" mono>
|
||||
{cite(`~${invite!.ship}`)}
|
||||
</Text>
|
||||
<Text mr="1">Joining direct message...</Text>
|
||||
</Row>
|
||||
</JoinSkeleton>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user