23 |
Oops!
24 |
Sorry, an unexpected error has occurred.
25 |
{error && {error.statusText || error.status}}
26 |
27 | );
28 | };
29 |
30 | export default ErrorPage;
31 |
--------------------------------------------------------------------------------
/client/routes/Home.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import TripList from '../components/TripList/TripList';
3 |
4 | const HomePage = () => {
5 | return