less resource-intensive methods of parsing URLs

This commit is contained in:
jake committed 2022-06-01 18:40:57 -04:00
1 parent d1ee8b2632
commit 33c210aacf
16 files changed
+195 -188

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export type HeadingAnchorProps = ComponentProps<typeof AnchorLink> & {
const HeadingAnchor = ({ id, title, ...rest }: HeadingAnchorProps) => {
return (
<AnchorLink href={`#${id}`} title={`Jump to "${title}"`} tabIndex={-1} aria-hidden={true} {...rest}>
<AnchorLink href={`#${id}`} title={`Jump to "${title}"`} aria-hidden={true} {...rest}>
<Icon />
</AnchorLink>
);