fix: internal links would not redirect properly

This commit is contained in:
Paul Makles
2022-07-12 14:15:53 +01:00
parent 7f6db77c4f
commit 030c211230
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ export function RenderAnchor({
// Render direct link if internal
if (link.type === "navigate") {
return <Link to={href} children={props.children} />;
return <Link to={link.path} children={props.children} />;
}
return (