diff --git a/docs/docs/providers.md b/docs/docs/providers.md index 96353a83..4ac682c1 100644 --- a/docs/docs/providers.md +++ b/docs/docs/providers.md @@ -22,7 +22,7 @@ Further it has an optional prop: `syncServerUri`. This is the URL of the sync se ## useHypergraphApp -The `useHypergraphApp` is available inside the `HypergraphAppProvider` and manages the sync server connection and provides serveral useful functions. +The `useHypergraphApp` is available inside the `HypergraphAppProvider` and manages the sync server connection and provides several useful functions. ```tsx import { useHypergraphApp } from "@graphprotocol/hypergraph-react"; @@ -36,11 +36,11 @@ const App = () => { - `isConnecting` is a boolean that indicates that syncing private spaces is not yet possible. You need to wait until it's `false` to query data from private spaces. - `logout` is a function that logs out the user. -There are serveral more that will be explained in the following sections. +There are several more that will be explained in the following sections. ## useHypergraphAuth -The `useHypergraphAuth` is available inside the `HypergraphAppProvider` and manages the authentication state and provides serveral useful functions. +The `useHypergraphAuth` is available inside the `HypergraphAppProvider` and manages the authentication state and provides several useful functions. ```tsx import { useHypergraphAuth } from "@graphprotocol/hypergraph-react"; @@ -56,7 +56,7 @@ const App = () => { ## HypergraphSpaceProvider -Whenever you interact with a space you need to provide the space ID. In order providing the space ID to every hook e.g. useSpace, useQuery, useCreateEntity, etc. you can use the `HypergraphSpaceProvider` to wrap a section of your app with the space ID. +Whenever you interact with a space you need to provide the space ID. Instead of providing the space ID to every hook e.g. useSpace, useQuery, useCreateEntity, etc. you can use the `HypergraphSpaceProvider` to wrap a section of your app with the space ID. ```tsx import { HypergraphSpaceProvider } from "@graphprotocol/hypergraph-react";