mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-11-13 10:06:12 -05:00
less resource-intensive methods of parsing URLs
This commit is contained in:
16 files changed
+195
-188
No files matched your search
@@ -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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user