refactor(examples): enhance update node example
This commit is contained in:
@@ -16,7 +16,7 @@ import EdgeTypes from './EdgeTypes';
|
||||
import CustomConnectionLine from './CustomConnectionLine';
|
||||
import NodeTypeChange from './NodeTypeChange';
|
||||
import UpdatableEdge from './UpdatableEdge';
|
||||
import UpdateLabel from './UpdateLabel';
|
||||
import UpdateNode from './UpdateNode';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -86,9 +86,9 @@ const routes = [
|
||||
label: 'Updatable Edge',
|
||||
},
|
||||
{
|
||||
path: '/update-label',
|
||||
component: UpdateLabel,
|
||||
label: 'Update Label',
|
||||
path: '/update-node',
|
||||
component: UpdateNode,
|
||||
label: 'Update Node',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user