mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-23 22:22:07 -05:00
fix: internal links would not redirect properly
This commit is contained in:
parent
7f6db77c4f
commit
030c211230
2 changed files with 2 additions and 2 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 8a5984ed8f336637e9aa60ef3934e2bc5b9023e9
|
||||
Subproject commit 5af7326c286f729ac6dd4cabff9dfdf7c480b631
|
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue