diff --git a/site/components/header.js b/site/components/header.js index 4965f9b..156c4d6 100644 --- a/site/components/header.js +++ b/site/components/header.js @@ -16,6 +16,7 @@ export default function Header({ searchText, changeSearch }) { } const listUrl = process.env.listUrl; const router = useRouter(); + const getLink = (path) => `${router.basePath}${path}`; return (
@@ -44,7 +45,7 @@ export default function Header({ searchText, changeSearch }) {