Closed rjkerrison closed 4 years ago
Fixes an issue in the built site.
At the Early Years life stage overview, the links in the Research Navigation and Pills aren't prefixed with /esma-website.
/esma-website
First, import { Link } from "gatsby"; and then use <Link to={…}> instead of <a href={…}>.
import { Link } from "gatsby";
<Link to={…}>
<a href={…}>
Fixes an issue in the built site.
Bug description
At the Early Years life stage overview, the links in the Research Navigation and Pills aren't prefixed with
/esma-website
.The fix
First,
import { Link } from "gatsby";
and then use<Link to={…}>
instead of<a href={…}>
.