mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 18:15:28 +00:00
fix: internal links would not redirect properly
This commit is contained in:
2
external/lang
vendored
2
external/lang
vendored
Submodule external/lang updated: 8a5984ed8f...5af7326c28
@@ -17,7 +17,7 @@ export function RenderAnchor({
|
|||||||
|
|
||||||
// Render direct link if internal
|
// Render direct link if internal
|
||||||
if (link.type === "navigate") {
|
if (link.type === "navigate") {
|
||||||
return <Link to={href} children={props.children} />;
|
return <Link to={link.path} children={props.children} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user