Wiring Content Up to the Editor
As you can see, there's no way for us to edit our amazing title from this page. We still have to navigate to our collection, and then to our file, in order to change the title. Let's fix that!
1. Change app/page.tsx to have the following code:
There are a couple of small, but significant changes here. Let's go through them.
We aren't quite done here. If you open up your browser's Dev Tools and navigate to http://localhost:3000/admin/index.html, you'll see an error appear in your console.
This is actually from how NextJS works – continue on to get your Visual Editor up and running.