forked from abner/for-legacy-web
fix: internal links would not redirect properly
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user