We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f961d94 commit 3cfbd43Copy full SHA for 3cfbd43
src/SkipLinks.tsx
@@ -7,7 +7,7 @@ import { cx } from "./lib/tools/cx";
7
8
export type SkipLink = {
9
label: string;
10
- anchor: string;
+ anchor: `${string}`;
11
};
12
13
export type SkipLinksProps = {
@@ -32,7 +32,7 @@ export const SkipLinks = memo(
32
<li key={link.anchor}>
33
<a
34
className={cx(fr.cx("fr-link"), classes.link)}
35
- href={`#${link.anchor}`}
+ href={link.anchor}
36
>
37
{link.label}
38
</a>
0 commit comments