Skip to content

Commit 3ed981d

Browse files
committed
fix(demo): remove outdated example
1 parent e22fd27 commit 3ed981d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

demo/src/App.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { Component } from 'react';
22
import clone from 'clone';
3-
import { debugData, individualShapesData } from './mockData';
43
import Tree from 'react-d3-tree';
54
import { version } from 'react-d3-tree/package.json';
65
import Switch from './components/Switch';
@@ -9,6 +8,7 @@ import PureSvgNodeElement from './components/PureSvgNodeElement';
98
import './App.css';
109

1110
// Data examples
11+
import { debugData } from './mockData';
1212
import orgChartJson from './examples/org-chart.json';
1313
import flareJson from './examples/d3-hierarchy-flare.json';
1414
import reactTree from './examples/react-tree';
@@ -54,8 +54,7 @@ class App extends Component {
5454
this.addedNodesCount = 0;
5555

5656
this.state = {
57-
data: individualShapesData,
58-
// pathFunc: (d, orientation) => orientation && `M${d.source.y},${d.source.x}V${d.target.x}H${d.target.y}`,
57+
data: orgChartJson,
5958
orientation: 'horizontal',
6059
translateX: 200,
6160
translateY: 300,

0 commit comments

Comments
 (0)