Merge pull request #4277 from urbit/mp/landscape/profile-overlay-avs

landscape: pass contact to profile overlay thoroughly
This commit is contained in:
matildepark 2021-01-12 18:22:01 -05:00 committed by GitHub
commit cdb9353040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ export function Mention(props: {
const { contacts, ship } = props;
let { contact } = props;
contact = (contact?.nickname) ? contact : contacts?.[ship];
contact = (contact?.color) ? contact : contacts?.[ship];
const showNickname = useShowNickname(contact);