React: Login component not showing up on request

React: Login component not showing up
If you’re like me and took the Okta Sign-In Widget and react tutorial then you may have encountered this problem. When a user clicks on the protected route he/she is directed to the right route which is localhost:{port}/login if you’re in local development like me but THEN booom!.There's no login component and the page is just blank.
After researching tirelessly and digging through the developer forum I found the easiest way to fix this bug is to go into your Login,js Component(Again this is if you followed the Okta Sign-In Widget and react tutorial…heres the link.Okta Sign-In Widget and react. Then you’ll have to remove this line from that component…

if (this.props.authState.isPending) return null;

Do that and the said problem will be gone.

Hello and thank you for reporting this issue. Can you please enter it as a GitHub issue against our developer docs repo. We’ll get it fixed next week.