From d69277df8a3d6f786b38e3af2388240187ccf06f Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 2 Jun 2020 18:37:57 +0200 Subject: [PATCH] docs(readme): typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c967925..9e9dd086 100644 --- a/README.md +++ b/README.md @@ -353,7 +353,7 @@ const FlowWithControls = () => ( ## ReactFlowProvider -If you need access to the internal state and action of React Flow outside of the `ReactFlow` component you can it with the `ReactFlowProvider` component: +If you need access to the internal state and action of React Flow outside of the `ReactFlow` component you can wrap it with the `ReactFlowProvider` component: ```javascript import ReactFlow, { ReactFlowProvider } from 'react-flow-renderer'; @@ -490,7 +490,7 @@ const Flow = () => ( ); ``` -If you need more control you can wrap the `ReactFlow` component with the `ReactFlowProvider` component in order to be able to call `useStoreState` outside of the component. +If you need more control you can wrap the `ReactFlow` component with the `ReactFlowProvider` component in order to be able to call `useStoreState` outside of the `ReactFlow` component. # Examples