Skip to content

Commit

Permalink
fix[react-devtools]: wrap key string in preformatted text html element (
Browse files Browse the repository at this point in the history
#31153)

Fixes #28984.
  • Loading branch information
hoxyq authored Oct 9, 2024
1 parent ed966da commit bf0c054
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default function Element({data, index, style}: Props): React.Node {
className={styles.KeyValue}
title={key}
onDoubleClick={handleKeyDoubleClick}>
{key}
<pre>{key}</pre>
</span>
"
</Fragment>
Expand Down

0 comments on commit bf0c054

Please sign in to comment.