File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ we require some peer dependencies:
16
16
yarn add react-netlify-identity-widget @reach/dialog @reach/tabs @reach/visually-hidden
17
17
```
18
18
19
- and the styles are optional but provided. here's how to use ` IdentityModal, useNetlifyIdentity , IdentityContextProvider ` :
19
+ and the styles are optional but provided. here's how to use ` IdentityModal, useIdentityContext , IdentityContextProvider ` :
20
20
21
21
``` tsx
22
22
import React from " react"
@@ -27,7 +27,7 @@ import "react-netlify-identity-widget/styles.css"
27
27
function App() {
28
28
const url = process .env .REACT_APP_NETLIFY_URL // supply the url of your Netlify site instance. VERY IMPORTANT
29
29
return (
30
- <IdentityContextProvider value = { identity } >
30
+ <IdentityContextProvider url = { url } >
31
31
<AuthStatusView />
32
32
</IdentityContextProvider >
33
33
)
You can’t perform that action at this time.
0 commit comments