Merge pull request #1861 from andreyworkspace/bugfix/v10

Removed wrong type
This commit is contained in:
Moritz Klack
2022-01-29 22:15:10 +01:00
committed by GitHub
+1 -1
View File
@@ -34,7 +34,7 @@ const defaultEdgeTypes = {
const initSnapGrid: [number, number] = [15, 15];
const initDefaultPosition: [number, number] = [0, 0];
const ReactFlow: FunctionComponent<ReactFlowProps> = forwardRef<ReactFlowRefType, ReactFlowProps>(
const ReactFlow = forwardRef<ReactFlowRefType, ReactFlowProps>(
(
{
nodes,