Skip to content

Commit 5d55067

Browse files
(removed) console.logs
1 parent ab6d44c commit 5d55067

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/app/components/PerformanceVisx.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ const PerformanceVisx = (props: BarStackProps) => {
117117

118118
const { width, height, snapshots, hierarchy } = props;
119119

120-
console.log('snapshots', snapshots);
121-
console.log('hierarchy', hierarchy)
122-
123120
const {
124121
tooltipOpen, tooltipLeft, tooltipTop, tooltipData, hideTooltip, showTooltip,
125122
} = useTooltip<TooltipData>();
@@ -134,10 +131,6 @@ const PerformanceVisx = (props: BarStackProps) => {
134131
const allComponentStates = traverse(snapshots[0], 'getComponentType');
135132
const allComponentRtids = traverse(snapshots[snapshots.length-1], 'getRtid');
136133

137-
console.log('data', data)
138-
console.log('allComponentState', allComponentStates)
139-
console.log('allComponentRtids', allComponentRtids)
140-
141134
// create array of total render times for each snapshot
142135
const totalRenderArr = data.reduce((totalRender, curSnapshot) => {
143136
const curRenderTotal = keys.reduce((acc, cur) => {
@@ -227,7 +220,6 @@ const PerformanceVisx = (props: BarStackProps) => {
227220
}}
228221
// Cursor position in window updates position of the tool tip
229222
onMouseMove={event => {
230-
console.log(allComponentRtids[bar.key])
231223
dispatch(onHover(allComponentRtids[bar.key]))
232224
if (tooltipTimeout) clearTimeout(tooltipTimeout);
233225
const top = event.clientY - margin.top - bar.height;

0 commit comments

Comments
 (0)