Skip to content

Commit

Permalink
Get rid of the React changes that were abandoned.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcom committed Jun 3, 2022
1 parent 01711a6 commit 194da17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion demo/src/views/GraphDataController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const GraphDataController: FC<{ dataset: Dataset; filters: FiltersState }> = ({
* Feed graphology with the new dataset:
*/
useEffect(() => {
console.log('useEffect GraphDataController.');
if (!graph || !dataset) return;

const clusters = keyBy(dataset.clusters, "key");
Expand Down
2 changes: 1 addition & 1 deletion demo/src/views/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Root: FC = () => {

// Load data on mount:
useEffect(() => {
fetch(`${process.env.PUBLIC_URL}/dataset_small.json`)
fetch(`${process.env.PUBLIC_URL}/dataset.json`)
.then((res) => res.json())
.then((dataset: Dataset) => {
setDataset(dataset);
Expand Down

0 comments on commit 194da17

Please sign in to comment.