From the course: React: Securing Applications

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Update index for Auth0 integration

Update index for Auth0 integration - React.js Tutorial

From the course: React: Securing Applications

Start my 1-month free trial

Update index for Auth0 integration

- [Instructor ] So now we're going to work on the index dot JS file. And what we're going to do is run the application and as we start working on the index, we're going to see a bunch of errors show up and we're going to fix them as we actually work on the files. So let's go ahead and do an npm-start. You want to make sure you're on the client. So if you're not, you can do a right click on the client here and Open in Terminal. So once you have the application running, you see that right away we have in there. So this is from the dangerously set inner HTML error. So let's go ahead and fix that right away. So the first thing we're going to do is go inside of D app right in the components right here, app dot JS and let's just remove this function that breaks our application and then go all the way down here to remove that component. And then let's save it. And then let's go back and our application is working again.…

Contents