mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fixed a typo in flamegraph duration label
This commit is contained in:
@@ -18,10 +18,10 @@
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
font-size: var(--font-family-sans);
|
||||
font-family: var(--font-size-sans-normal);
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
font-family: var(--font-family-sans);
|
||||
font-size: var(--font-size-sans-normal);
|
||||
margin-left: 0.25rem;
|
||||
margin-right: 0.25rem;
|
||||
line-height: 1.5;
|
||||
padding: 0 0 0;
|
||||
font-weight: 400;
|
||||
|
||||
@@ -69,7 +69,7 @@ export function getChartData({
|
||||
|
||||
let label = `${name}${maybeKey}`;
|
||||
if (didRender) {
|
||||
label += ` (${selfDuration.toFixed(1)}ms) of ${actualDuration.toFixed(
|
||||
label += ` (${selfDuration.toFixed(1)}ms of ${actualDuration.toFixed(
|
||||
1
|
||||
)}ms)`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user