Skip to content

Commit 4a4dbff

Browse files
authored
fix(platform): Only render permalinks as h2 in expandable (#12293)
1 parent 68e447a commit 4a4dbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/expandable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function Expandable({title, children, permalink}: Props) {
7777
return (
7878
<Details open={isExpanded}>
7979
<summary className="m-0 font-medium cursor-pointer relative pr-8 select-none appearance-none list-none">
80-
{header(title, true)}
80+
{header(title, permalink)}
8181
<Arrow className="expandable-arrow" />
8282
</summary>
8383
{children}

0 commit comments

Comments
 (0)