Skip to content

Commit 03f8d5a

Browse files
committed
Removed console logs in AtomsRelationship
1 parent b3b0bae commit 03f8d5a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/app/components/AtomsRelationship.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ function Node({ node }) {
7272

7373
if (isRoot) return <RootNode node={node} />;
7474

75-
console.log(node)
76-
7775
return (
7876
<Group top={node.y} left={node.x}>
7977
{node.depth !== 0 && (
@@ -147,7 +145,7 @@ export default function Example({
147145
}) {
148146

149147
clusterDataPopulate(snapshots);
150-
148+
151149
const data = useMemo(() => hierarchy(clusterData), []);
152150
const xMax = width - margin.left - margin.right;
153151
const yMax = height - margin.top - margin.bottom;
@@ -156,6 +154,7 @@ export default function Example({
156154
<svg width={width} height={height}>
157155
<LinearGradient id="top" from={green} to={aqua} />
158156
<rect width={width} height={height} rx={14} fill={background} />
157+
159158
<Cluster root={data} size={[xMax, yMax]}>
160159
{(cluster) => (
161160
<Group top={margin.top} left={margin.left}>

0 commit comments

Comments
 (0)