Skip to content

Commit f1c0ceb

Browse files
committed
merge
1 parent 4970a32 commit f1c0ceb

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/app/components/ComponentMap.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,6 @@ export default function ComponentMap({
126126
scroll: true,
127127
});
128128

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-
=======
142129
const tooltipStyles = {
143130
...defaultStyles,
144131
minWidth: 60,
@@ -154,7 +141,6 @@ export default function ComponentMap({
154141
return `${time} ms `;
155142
}
156143

157-
>>>>>>> 0e939e7bb8e045845438bf4ffa8825db5fe14cac
158144

159145
// controls for the map
160146
const LinkComponent = getLinkComponent({ layout, linkType, orientation });
@@ -295,11 +281,7 @@ export default function ComponentMap({
295281
</Tree>
296282
</Group>
297283
</svg>
298-
<<<<<<< HEAD
299-
{tooltipOpen && tooltipData && (
300-
=======
301284
{tooltipOpen && tooltipData && (
302-
>>>>>>> 0e939e7bb8e045845438bf4ffa8825db5fe14cac
303285
<TooltipInPortal
304286
// set this to random so it correctly updates with parent bounds
305287
key={Math.random()}
@@ -315,11 +297,7 @@ export default function ComponentMap({
315297
<div> Render time: {formatRenderTime(tooltipData.componentData.actualDuration)} </div>
316298

317299
</TooltipInPortal>
318-
<<<<<<< HEAD
319-
)}
320-
=======
321300
)}
322-
>>>>>>> 0e939e7bb8e045845438bf4ffa8825db5fe14cac
323301
</div>
324302
);
325303
}

0 commit comments

Comments
 (0)