Merge pull request #2472 from Alireza29675/fix/extra-react-import-removed
fix(examples): extra react imports removed
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import ReactFlow, {
|
||||
useReactFlow,
|
||||
Node,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import ReactFlow, { useReactFlow, Node, Edge, ReactFlowProvider, Background, BackgroundVariant } from 'reactflow';
|
||||
|
||||
const defaultNodes: Node[] = [
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import ReactFlow, { Node, Edge, Position, MarkerType } from 'reactflow';
|
||||
|
||||
const nodes: Node[] = [
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import { useStore, useStoreApi } from 'reactflow';
|
||||
|
||||
import styles from './provider.module.css';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import { useKeyPress } from 'reactflow';
|
||||
|
||||
const UseKeyPressComponent = () => {
|
||||
|
||||
Reference in New Issue
Block a user