Skip to content

Commit b00e62e

Browse files
committed
Fix broken anchor links
1 parent 5fc012c commit b00e62e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: website/src/components/InternalLinks.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ interface Props {
99
export const InternalLinks = {
1010
Selector: memo(({ text = 'selector' }) => (
1111
<Link
12+
id="selector-function"
1213
to="/introduction/getting-started#selector-function"
1314
title="Selector Function"
1415
>
@@ -17,6 +18,7 @@ export const InternalLinks = {
1718
)),
1819
InputSelectors: memo(({ text = 'input selectors' }) => (
1920
<Link
21+
id="input-selectors"
2022
to="/introduction/getting-started#input-selectors"
2123
title="Input Selectors"
2224
>
@@ -25,6 +27,7 @@ export const InternalLinks = {
2527
)),
2628
OutputSelector: memo(({ text = 'output selector' }) => (
2729
<Link
30+
id="output-selector"
2831
to="/introduction/getting-started#output-selector"
2932
title="Output Selector"
3033
>
@@ -33,14 +36,19 @@ export const InternalLinks = {
3336
)),
3437
ResultFunction: memo(({ text = 'result function' }) => (
3538
<Link
39+
id="result-function"
3640
to="/introduction/getting-started#result-function"
3741
title="Result Function"
3842
>
3943
{text}
4044
</Link>
4145
)),
4246
Dependencies: memo(({ text = 'dependencies' }) => (
43-
<Link to="/introduction/getting-started#dependencies" title="Dependencies">
47+
<Link
48+
id="dependencies"
49+
to="/introduction/getting-started#dependencies"
50+
title="Dependencies"
51+
>
4452
{text}
4553
</Link>
4654
)),

0 commit comments

Comments
 (0)