mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +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