1
0
mirror of synced 2026-01-02 21:04:32 -05:00

Merge pull request #19666 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2022-08-10 17:29:17 -04:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ type Props = {
export function GraphqlItem({ item, heading, children, headingLevel = 2 }: Props) {
const lowerCaseName = item.name.toLowerCase()
return (
<>
<div>
{headingLevel === 2 && (
<h2 id={lowerCaseName}>
<LinkIconHeading slug={lowerCaseName} />
@@ -38,6 +38,6 @@ export function GraphqlItem({ item, heading, children, headingLevel = 2 }: Props
{heading && <h4>{heading}</h4>}
{children}
</div>
</>
</div>
)
}