jamesgeer / conf-twitter-bot

A Twitter Bot to post about academic papers
MIT License
4 stars 0 forks source link

Create a 404 Page #29

Closed jamesgeer closed 2 years ago

jamesgeer commented 2 years ago

If the user attempts to access a URL that does not exist they should be shown a 404 page.

Something like this:

<Route path="*" element={<PageNotFound />} />

(Put this after all the other routes)

Of course, you will need to create a 'PageNotFound' component.