From 194da17af3671248efac8c2bc6df6ac25d067a25 Mon Sep 17 00:00:00 2001 From: "H. Thomson Comer" Date: Fri, 3 Jun 2022 14:04:15 -0500 Subject: [PATCH] Get rid of the React changes that were abandoned. --- demo/src/views/GraphDataController.tsx | 1 - demo/src/views/Root.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/src/views/GraphDataController.tsx b/demo/src/views/GraphDataController.tsx index a374e6ce7..c2edbcdf8 100644 --- a/demo/src/views/GraphDataController.tsx +++ b/demo/src/views/GraphDataController.tsx @@ -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"); diff --git a/demo/src/views/Root.tsx b/demo/src/views/Root.tsx index a70c0ddcc..1cf0d635e 100644 --- a/demo/src/views/Root.tsx +++ b/demo/src/views/Root.tsx @@ -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);