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

2
external/lang vendored

@ -1 +1 @@
Subproject commit 8a5984ed8f336637e9aa60ef3934e2bc5b9023e9
Subproject commit 5af7326c286f729ac6dd4cabff9dfdf7c480b631

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 (