Skip to content

Commit

Permalink
🐛 fix(common): invalid data path
Browse files Browse the repository at this point in the history
  • Loading branch information
萌萌的老胖子 committed Mar 26, 2020
1 parent aeef9f5 commit cc617d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphin-site/examples/layout/force/demo/Big.jsx
Expand Up @@ -36,7 +36,7 @@ const colors = legend.map(c => c.color);
const App = () => {
const [data, setData] = React.useState({ nodes: [], edges: [] });
React.useEffect(() => {
fetch('../../data/web.json')
fetch('../../examples/data/web.json')
.then(res => res.json())
.then(res => {
const nodes = res.nodes.map((node, index) => {
Expand Down

0 comments on commit cc617d0

Please sign in to comment.