How to link to dashboard from NextJS?

I don’t why the example on the docs site doesn’t work for me. I am running snipcart with nextjs and I have a header with the following link which works, but it’s slow to respond if I click the link from within any path within my site other than root “/”.

<a href="/#/dashboard" className="snipcart-edit-profile">
     <FaUser />

oops. nevermind. I figured out that I needed change the href from