Update source/_posts/2020-03-18-subspace-2.0.md

Co-Authored-By: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
Richard Ramos 2020-03-18 14:27:12 -04:00 committed by Jakub Sokołowski
parent 1087cc14c5
commit 4290076fb5
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ ReactDOM.render(
```
#### useSubspace
Rather than relying on global variables or passing Subspace through props, The easiest way to access Subspace features is via the `useSubspace` hook. Be sure that your entire dApp is wrapped with a `<SubspaceProvider />` to have it available througout the component tree.
Rather than relying on global variables or passing Subspace through props, the easiest way to access Subspace features is via the `useSubspace` hook. Be sure that your entire DApp is wrapped with a `<SubspaceProvider />` to have it available throughout the component tree.
```js
// index.js
import React from 'react'