From 1633be1276687f8ff7e4ed524de46e9d241a6f08 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 6 Oct 2017 11:56:22 +0200 Subject: [PATCH] Added 404 page when a request does not match any routes. --- client/app/components/NotFound.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 client/app/components/NotFound.js diff --git a/client/app/components/NotFound.js b/client/app/components/NotFound.js new file mode 100644 index 0000000..5984e9b --- /dev/null +++ b/client/app/components/NotFound.js @@ -0,0 +1,10 @@ +// components/NotFound.js +import React from 'react'; + +const NotFound = () => +
+

404 page not found

+

We are sorry but the page you are looking for does not exist.

+
+ +export default NotFound; \ No newline at end of file