From f843f4294543448b30da83f0dad07f8096478473 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 10 Aug 2022 23:11:53 +0200 Subject: [PATCH] fix anchors on /graphql/reference/objects (#29815) --- components/graphql/GraphqlItem.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/graphql/GraphqlItem.tsx b/components/graphql/GraphqlItem.tsx index eae46a7d41..49a8b0417c 100644 --- a/components/graphql/GraphqlItem.tsx +++ b/components/graphql/GraphqlItem.tsx @@ -12,7 +12,7 @@ type Props = { export function GraphqlItem({ item, heading, children, headingLevel = 2 }: Props) { const lowerCaseName = item.name.toLowerCase() return ( - <> +
{headingLevel === 2 && (

@@ -38,6 +38,6 @@ export function GraphqlItem({ item, heading, children, headingLevel = 2 }: Props {heading &&

{heading}

} {children}

- + ) }