refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange
This commit is contained in:
@@ -32,6 +32,7 @@ import SaveRestore from './SaveRestore';
|
||||
import SwitchFlow from './Switch';
|
||||
import Validation from './Validation';
|
||||
import DefaultNodes from './DefaultNodes';
|
||||
import ControlledUncontrolled from './ControlledUncontrolled';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -156,6 +157,10 @@ const routes = [
|
||||
path: '/validation',
|
||||
component: Validation,
|
||||
},
|
||||
{
|
||||
path: '/controlled-uncontrolled',
|
||||
component: ControlledUncontrolled,
|
||||
},
|
||||
];
|
||||
|
||||
const Header = withRouter(({ history, location }) => {
|
||||
|
||||
Reference in New Issue
Block a user