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:19 -04:00 committed by Jakub Sokołowski
parent 4290076fb5
commit d47bba774f
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ export default MyComponent
```
#### withSubspace
This higher order component is provided as an alternative to the `useSubspace` hook. This injects the `subspace` property with an already initialized Subspace instance. Just like with the hook, your entire dApp needs to be wrapped with a `<SubspaceProvider />`.
This higher order component is provided as an alternative to the `useSubspace` hook. This injects the `subspace` property with an already initialized Subspace instance. Just like with the hook, your entire DApp needs to be wrapped with a `<SubspaceProvider />`.
```js
// index.js