Skip to content

Commit 7ee5971

Browse files
committed
finalized feature
1 parent 0eb37c2 commit 7ee5971

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
"react-dom": "^16.13.1",
118118
"react-google-chart": "^0.1.2",
119119
"react-google-charts": "^3.0.15",
120+
"react-google-charts-ts": "^0.1.1",
120121
"react-html-parser": "^2.0.2",
121122
"react-json-tree": "^0.11.2",
122123
"react-router-dom": "^5.2.0",

src/app/components/AtomsRelationship.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React, { Component, useEffect, useState, Fragment } from 'react';
22
// import * as d3 from 'd3';
33
// import {sankey} from 'sankey';
4-
import { Chart } from 'react-google-charts';
4+
import { Chart } from 'react-google-charts'
5+
56
// import { Fragment } from '../../backend/types/backendTypes';
67

78
/**
@@ -40,7 +41,7 @@ function AtomsRelationship(props) {
4041
} else {
4142
setAtoms(atomsAndComp);
4243
}
43-
}, [atomAndSelectorCheck, atomAndCompCheck])
44+
}, [atomAndSelectorCheck, atomAndCompCheck, props])
4445

4546
return (
4647
<div className="history-d3-container">

0 commit comments

Comments
 (0)