fixed missing forward slash in Link

This commit is contained in:
bill bittner 2018-02-23 11:04:17 -08:00
parent 0465e97cf0
commit fd21fa5604

View file

@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
const AssetPreview = ({ name, claimId, fileExt, contentType }) => { const AssetPreview = ({ name, claimId, fileExt, contentType }) => {
const directSourceLink = `${claimId}/${name}.${fileExt}`; const directSourceLink = `${claimId}/${name}.${fileExt}`;
const showUrlLink = `${claimId}/${name}`; const showUrlLink = `/${claimId}/${name}`;
return ( return (
<div className='asset-holder'> <div className='asset-holder'>
<Link to={showUrlLink} > <Link to={showUrlLink} >