Skip to content

Commit

Permalink
chore: add todo comment to FernLink
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Mar 25, 2024
1 parent 7b5815e commit 0161d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/app/src/components/FernLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function FernRelativeLink(props: ComponentProps<typeof Link>) {
const href = resolveRelativeUrl(router.asPath, formatUrlString(props.href));
return <Link {...props} href={href} />;
} else {
// TODO: in order for SEO to work correctly, we need to render this link on the server side
// which will require hacking the `Link` internal implementation
return <a className={props.className}>{props.children}</a>;
}
}
Expand Down

0 comments on commit 0161d35

Please sign in to comment.