fixed missing forward slash in Link
This commit is contained in:
parent
0465e97cf0
commit
fd21fa5604
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
|
|||
|
||||
const AssetPreview = ({ name, claimId, fileExt, contentType }) => {
|
||||
const directSourceLink = `${claimId}/${name}.${fileExt}`;
|
||||
const showUrlLink = `${claimId}/${name}`;
|
||||
const showUrlLink = `/${claimId}/${name}`;
|
||||
return (
|
||||
<div className='asset-holder'>
|
||||
<Link to={showUrlLink} >
|
||||
|
|
Loading…
Reference in a new issue