File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -126,19 +126,6 @@ export default function ComponentMap({
126
126
scroll : true ,
127
127
} ) ;
128
128
129
- < < << << < HEAD
130
- //mousing controls
131
- const handleMouseOver = ( event ) => {
132
- // console.log("mouse entered");
133
- const coords = localPoint ( event . target . ownerSVGElement , event ) ;
134
- // console.log("I'm coords", coords);
135
- showTooltip ( {
136
- tooltipLeft : coords . x ,
137
- tooltipTop : coords . y ,
138
- tooltipData : "test" ,
139
- } ) ;
140
- } ;
141
- = === ===
142
129
const tooltipStyles = {
143
130
...defaultStyles ,
144
131
minWidth : 60 ,
@@ -154,7 +141,6 @@ export default function ComponentMap({
154
141
return `${ time } ms ` ;
155
142
}
156
143
157
- >>> > >>> 0e939 e7bb8e045845438bf4ffa8825db5fe14cac
158
144
159
145
// controls for the map
160
146
const LinkComponent = getLinkComponent ( { layout, linkType, orientation } ) ;
@@ -295,11 +281,7 @@ export default function ComponentMap({
295
281
</ Tree >
296
282
</ Group >
297
283
</ svg >
298
- < < << << < HEAD
299
- { tooltipOpen && tooltipData && (
300
- = === ===
301
284
{ tooltipOpen && tooltipData && (
302
- > >>> >>> 0e939 e7bb8e045845438bf4ffa8825db5fe14cac
303
285
< TooltipInPortal
304
286
// set this to random so it correctly updates with parent bounds
305
287
key = { Math . random ( ) }
@@ -315,11 +297,7 @@ export default function ComponentMap({
315
297
< div > Render time: { formatRenderTime ( tooltipData . componentData . actualDuration ) } </ div >
316
298
317
299
</ TooltipInPortal >
318
- << << << < HEAD
319
- ) }
320
- = === ===
321
300
) }
322
- >>> >>> > 0e939e7bb8e045845438bf4ffa8825db5fe14cac
323
301
</ div >
324
302
) ;
325
303
}
You can’t perform that action at this time.
0 commit comments