Merge pull request #2472 from Alireza29675/fix/extra-react-import-removed

fix(examples): extra react imports removed
This commit is contained in:
Moritz Klack
2022-10-04 17:43:05 +02:00
committed by GitHub
5 changed files with 0 additions and 5 deletions
@@ -1,4 +1,3 @@
import React from 'react';
import ReactFlow, { import ReactFlow, {
useReactFlow, useReactFlow,
Node, Node,
@@ -1,4 +1,3 @@
import React from 'react';
import ReactFlow, { useReactFlow, Node, Edge, ReactFlowProvider, Background, BackgroundVariant } from 'reactflow'; import ReactFlow, { useReactFlow, Node, Edge, ReactFlowProvider, Background, BackgroundVariant } from 'reactflow';
const defaultNodes: Node[] = [ const defaultNodes: Node[] = [
@@ -1,4 +1,3 @@
import React from 'react';
import ReactFlow, { Node, Edge, Position, MarkerType } from 'reactflow'; import ReactFlow, { Node, Edge, Position, MarkerType } from 'reactflow';
const nodes: Node[] = [ const nodes: Node[] = [
@@ -1,4 +1,3 @@
import React from 'react';
import { useStore, useStoreApi } from 'reactflow'; import { useStore, useStoreApi } from 'reactflow';
import styles from './provider.module.css'; import styles from './provider.module.css';
@@ -1,4 +1,3 @@
import React from 'react';
import { useKeyPress } from 'reactflow'; import { useKeyPress } from 'reactflow';
const UseKeyPressComponent = () => { const UseKeyPressComponent = () => {