Skip to content

Commit 9322c44

Browse files
author
Jason Lengstorf
authored
docs: update the prop to match the underlying API
The upstream provider looks for a `url` prop, so these docs were causing errors.
1 parent 27ccb9b commit 9322c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import "react-netlify-identity-widget/styles.css"
2727
function App() {
2828
const url = process.env.REACT_APP_NETLIFY_URL // supply the url of your Netlify site instance. VERY IMPORTANT
2929
return (
30-
<IdentityContextProvider value={url}>
30+
<IdentityContextProvider url={url}>
3131
<AuthStatusView />
3232
</IdentityContextProvider>
3333
)

0 commit comments

Comments
 (0)