Update source/_posts/2020-03-18-subspace-2.0.md
Co-Authored-By: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
parent
1087cc14c5
commit
4290076fb5
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue