fix(useOnSelectionChange): repair hook closes #2484
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user