use canonical url in edit link

This commit is contained in:
Travis Eden 2018-11-05 16:16:42 -05:00
parent a210644959
commit 4b72d02c59

View file

@ -34,7 +34,7 @@ class AssetInfo extends React.Component {
<Row>
<RowLabeled
label={<Label value={'Edit:'} />}
content={<Link to={`/edit/${claimId}/${name}`}>{name}</Link>}
content={<Link to={`/edit${canonicalUrl}`}>{name}</Link>}
/>
</Row>
)}