Explorar o código

fix andhor link

Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
41064c8aac

+ 2 - 2
packages/app/src/components/ReactMarkdownComponents/NextLink.tsx

@@ -34,8 +34,8 @@ export const NextLink = ({
   if (isAnchorLink(href)) {
     const to = href.slice(1);
     return (
-      <ScrollLink to={to} spy smooth="easeOutQuart" offset={-100} duration={800}>
-        <a href={href} className={className}>{children}</a>
+      <ScrollLink href={href} to={to} className={className} spy smooth="easeOutQuart" offset={-100} duration={800}>
+        {children}
       </ScrollLink>
     );
   }