I am pretty new to Gatsbyjs and trying to build my portfolio for professional purpose. One issue though: when i try to link my pdf the address bar url adds some extra char.

import resume from "../../static/samplepdf.pdf"
<li>
<label htmlFor="resume">resume: </label>
<a href={resume} target="_blank" rel="noreferrer" id="email">
<FaNews className="social-icon"></FaNews>
resume
</a>
</li>