when I press the image I have running on my port, the current.link link is appended to my current link as such localhost:3000/current.link - assuming that current.link has a value. how can I route to an external link with out that issue?
below you is my code :
const ContCard = ({content,col}) => {
return (
<div className={`col-sm-12 col-md-6 col-lg-${col} my-3`}>
<div className='card p-3 rounded' >
<a
to={content.link}
target="_blank"
rel="noreferrer"
>
<img
className='card-image-top mx-auto'
src= {content.images[0].url}
width="250" height="200"
/>
</a>
<div className='card-body d-flex flex-column'>
<h5 className='card-title'>
<div> {content.title}</div>
</h5>
</div>
</div>
</div>
)
}
export default ContCard;