mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
interface: fix tsc
This commit is contained in:
parent
df45d21128
commit
7240d23049
@ -39,7 +39,7 @@ export function Mention(props: {
|
||||
ship: string;
|
||||
first?: boolean;
|
||||
}) {
|
||||
const { ship, first } = props;
|
||||
const { ship, first = false } = props;
|
||||
const contact = useContact(`~${deSig(ship)}`);
|
||||
const showNickname = useShowNickname(contact);
|
||||
const name = showNickname ? contact?.nickname : cite(ship);
|
||||
|
Loading…
Reference in New Issue
Block a user