Skip to content

Commit 683d2b7

Browse files
committed
removed console logs from History file
1 parent 3b0e92e commit 683d2b7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/app/components/History.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function History(props: any) {
4343

4444
let root = JSON.parse(JSON.stringify(hierarchy));
4545
let isRecoil = false;
46-
// console.log('before makedTree, hierarchy is, ', hierarchy);
46+
4747
let HistoryRef = React.createRef(root); //React.createRef(root);
4848
useEffect(() => {
4949
maked3Tree();
@@ -78,7 +78,6 @@ function History(props: any) {
7878
// d3.hierarchy constructs a root node from the specified hierarchical data
7979
// (our object titled dataset), which must be an object representing the root node
8080
const hierarchy = d3.hierarchy(root);
81-
// console.log('after maked3tree, hierarchy is now: ', hierarchy);
8281
const tree = d3
8382
.tree()
8483
.nodeSize([width / 10, height / 10])
@@ -238,7 +237,7 @@ function History(props: any) {
238237
return [(y = +y) * Math.cos((x -= Math.PI / 2)), y * Math.sin(x)];
239238
}
240239
};
241-
// console.log('have we hit maked3dtree');
240+
242241
// below we are rendering the LegendKey component and passing hierarchy as props
243242
// then rendering each node in History tab to render using D3
244243

0 commit comments

Comments
 (0)