Skip to content

Commit b41c307

Browse files
Fix incorrect hoc name in test
1 parent 2fce115 commit b41c307

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/view/components/profiler/flamegraph/modes/FlamegraphLayout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ export function FlamegraphLayout({
4848
let text: any = "";
4949
if (pos.commitParent || pos.weight === -1) {
5050
text = (
51-
<span data-testid="node-name">
52-
{node.name}
51+
<>
52+
<span data-testid="node-name">{node.name}</span>
5353
{filterHoc && node.hocs ? (
5454
<HocLabels hocs={node.hocs} nodeId={node.id} canMark={false} />
5555
) : (
5656
""
5757
)}
58-
</span>
58+
</>
5959
);
6060
} else {
6161
const self = formatTime(commit.selfDurations.get(node.id)!);

0 commit comments

Comments
 (0)