profile: drop ~ from patp when messaging

fixes urbit/landscape#532
This commit is contained in:
James Acklin 2021-03-08 16:35:44 -05:00
parent b7082343ec
commit 48aa02dd4e

View File

@ -143,7 +143,7 @@ export function ProfileActions(props: any): ReactElement {
py='2'
cursor='pointer'
fontWeight='500'
onClick={() => history.push(`/~landscape/dm/${ship}`)}
onClick={() => history.push(`/~landscape/dm/${ship.substring(1)}`)}
>
Message
</Text>