Skip to content

Commit 01e4e15

Browse files
authored
[polaris.shopify.com][/components] Fix Props heading id not mapping to TOC anchor (Shopify#6594)
1 parent ba4c698 commit 01e4e15

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/gold-worms-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Fixed the Props table TOC anchor link not working on component pages

polaris.shopify.com/src/components/PropsTable/PropsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function PropsTable({ props: { interfaceName, props } }: Props) {
1414

1515
return (
1616
<div className={styles.PropsTable}>
17-
<h2 id="properties">Props</h2>
17+
<h2 id="props">Props</h2>
1818
<p>
1919
Want to help make this feature better? Please{" "}
2020
<a href={feedbackUrl}>share your feedback</a>.

0 commit comments

Comments
 (0)