@samitouri / QOS-React-2 / commits / 901d76bc5c

dataForRoots.set duplicate removal (#17993)

dataForRoots.set duplicate removal

cutjavascript committed Feb 7, 2020 at 01:18 UTC 901d76bc5c8dcd0fa15bb32d1dfe05709aa5d273
1 file changed -11
packages/react-devtools-shared/src/devtools/views/Profiler/utils.js
-11
@@ -100,17 +100,6 @@ export function prepareProfilingDataFrontendFromBackendAndStore(
100 rootID,
101 snapshots,
102 });
103 -
104 - dataForRoots.set(rootID, {
105 - commitData: filteredCommitData,
106 - displayName,
107 - initialTreeBaseDurations: new Map(initialTreeBaseDurations),
108 - interactionCommits: new Map(interactionCommits),
109 - interactions: new Map(interactions),
110 - operations: filteredOperations,
111 - rootID,
112 - snapshots,
113 - });
103 },
104 );
105 });