fix(useOnSelectionChange): repair hook closes #2484

This commit is contained in:
moklick
2022-10-09 20:40:11 +02:00
parent 4aa742f6f2
commit 3a1a365a63
5 changed files with 128 additions and 16 deletions
+6
View File
@@ -36,6 +36,7 @@ import Validation from '../examples/Validation';
import UseKeyPress from '../examples/UseKeyPress';
import EdgeRouting from '../examples/EdgeRouting';
import CancelConnection from '../examples/CancelConnection';
import UseOnSelectionChange from '../examples/UseOnSelectionChange';
interface IRoute {
name: string;
@@ -199,6 +200,11 @@ const routes: IRoute[] = [
path: '/update-node',
component: UpdateNode,
},
{
name: 'useOnSelectionChange',
path: '/use-on-selection-change',
component: UseOnSelectionChange,
},
{
name: 'useReactFlow',
path: '/usereactflow',