Remove unnecessary fragment

Summary: Remove unnecessary fragment.

Reviewed By: ivanmisuno

Differential Revision: D43186534

fbshipit-source-id: cf9c761b1ce3b9103d2facfba3c7acc7fc1fe339
This commit is contained in:
Lorenzo Blasa
2023-02-10 06:04:04 -08:00
committed by Facebook GitHub Bot
parent 6196204a7b
commit 6316852026

View File

@@ -315,12 +315,10 @@ function InlineAttributes({attributes}: {attributes: Record<string, string>}) {
return (
<>
{Object.entries(attributes ?? {}).map(([key, value]) => (
<>
<TreeAttributeContainer key={key}>
<span style={{color: theme.warningColor}}>{key}</span>
<span>={highlightManager.render(value)}</span>
</TreeAttributeContainer>
</>
<TreeAttributeContainer key={key}>
<span style={{color: theme.warningColor}}>{key}</span>
<span>={highlightManager.render(value)}</span>
</TreeAttributeContainer>
))}
</>
);