Skip to content

Commit 6f7cf46

Browse files
committed
Refactored the changes
Signed-off-by: Maksim Gaponov <[email protected]>
1 parent 0a19fee commit 6f7cf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jaeger-ui/src/components/TracePage/TraceStatistics/tableValues.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const serviceName = 'Service Name';
2323
const operationName = 'Operation Name';
2424

2525
function parentChildOfMap(allSpans: Span[]): Record<string, Span[]> {
26-
let parentChildOfMap = {};
26+
const parentChildOfMap: Record<string, Span[]> = {};
2727
allSpans.forEach(s => {
2828
if (s.references) {
2929
// Filter for CHILD_OF we don't want to calculate FOLLOWS_FROM (prod-cons)

0 commit comments

Comments
 (0)