We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f4ccf commit c3cf546Copy full SHA for c3cf546
ui/packages/shared/profile/src/SourceView/Highlighter.tsx
@@ -84,7 +84,7 @@ const LineProfileMetadata = ({
84
85
const valueWithUnit = valueFormatter(
86
value,
87
- profileSource?.ProfileType().sampleUnit ?? '',
+ profileSource?.ProfileType().periodUnit ?? '',
88
1,
89
true
90
);
ui/packages/shared/profile/src/SourceView/index.tsx
@@ -111,7 +111,7 @@ export const SourceView = React.memo(function SourceView({
111
return undefined;
112
}
113
return {
114
- line: newLine,
+ line,
115
cumulative: Number(data.cumulative),
116
flat: Number(data.flat),
117
};
0 commit comments