React Netlify Identity Widget not rendering

Hey everyone. I’ve recently started using Netlify to automate the deployment of one of our company’s documentation pages. While I have no trouble with this, I am having trouble getting the Identity Widget to render after clicking the login button.

I have enabled the Identity option in Netlify, added my custom API endpoint in place of the url in App() and have followed the react-netlify-identity-widget ( documentation line by line; my code is essentially a perfect match (aside from the CSS which I plan to override) and I don’t have any errors in the console. Is there anything that I might be missing? Would it be possible to use the generic netlify-authentication-widget instead?

PS: I am using Docusaurus, which is currently using React 16.8.0 and ES5.

can you provide a link to your site please?