react-netlify-identity-widget
react-netlify-identity-widget copied to clipboard
Instructions do not add react-netlify-identity
Instructions do not add react-netlify-identity and it will pop up the modal and provide context but will not login without it.
should it not be
yarn add react-netlify-identity react-netlify-identity-widget @reach/dialog @reach/tabs @reach/visually-hidden and then it add's the updated @reach/dialog @reach/tabs @reach/visually-hidden and you get a npm warring EDIT: Did not need gatsby netlify plugin, My context URl is set globally in ssr and browser
` import React from 'react' import { IdentityContextProvider } from 'react-netlify-identity-widget' import './static/scss/styles.css'
export const wrapRootElement = ({ element }) => (
<IdentityContextProvider url='https://publiuslogic.com'> // without trailing slash /
{element}
</IdentityContextProvider>
)`
check it out at publiuslogic.com
hmm i had thought it was not needed since RNIW also includes RNI