refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange

This commit is contained in:
moklick
2022-01-20 17:55:27 +01:00
parent 2736492bb7
commit 0cfcf656a0
8 changed files with 157 additions and 48 deletions
+5
View File
@@ -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 }) => {