Remove unnecessary fragment
Summary: Remove unnecessary fragment. Reviewed By: ivanmisuno Differential Revision: D43186534 fbshipit-source-id: cf9c761b1ce3b9103d2facfba3c7acc7fc1fe339
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6196204a7b
commit
6316852026
@@ -315,12 +315,10 @@ function InlineAttributes({attributes}: {attributes: Record<string, string>}) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{Object.entries(attributes ?? {}).map(([key, value]) => (
|
{Object.entries(attributes ?? {}).map(([key, value]) => (
|
||||||
<>
|
<TreeAttributeContainer key={key}>
|
||||||
<TreeAttributeContainer key={key}>
|
<span style={{color: theme.warningColor}}>{key}</span>
|
||||||
<span style={{color: theme.warningColor}}>{key}</span>
|
<span>={highlightManager.render(value)}</span>
|
||||||
<span>={highlightManager.render(value)}</span>
|
</TreeAttributeContainer>
|
||||||
</TreeAttributeContainer>
|
|
||||||
</>
|
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user