ProfileOverlay: restore DM button

Dropped in a merge conflict resolution.

Fixes urbit/landscape#757
This commit is contained in:
Matilde Park 2021-04-12 17:00:24 -04:00
parent 09cd2bc020
commit bdefbcbcf2

View File

@ -151,6 +151,16 @@ const ProfileOverlay = (props: ProfileOverlayProps) => {
padding={3}
justifyContent='center'
>
<Row color='black' padding={3} position='absolute' top={0} left={0}>
{!isOwn && (
<Icon
icon='Chat'
size={16}
cursor='pointer'
onClick={() => history.push(`/~landscape/dm/${ship}`)}
/>
)}
</Row>
<Box
alignSelf='center'
height='72px'