From 8b3cec8d6faaa0d84ae04e90382b902735308bd2 Mon Sep 17 00:00:00 2001 From: shortCircuit81 <54492585+shortCircuit81@users.noreply.github.com> Date: Mon, 22 Feb 2021 11:36:14 +0530 Subject: [PATCH] updated --- client/src/App.js | 24 ++++++++++++++++-------- client/src/Error.js | 26 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 client/src/Error.js diff --git a/client/src/App.js b/client/src/App.js index 08fcd8d..5611378 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -1,15 +1,23 @@ -import logo from './logo.svg'; -import './App.css'; +import { + BrowserRouter as Router, + Route, + Switch, +} from 'react-router-dom' +import NotFoundPage from './pages/NotFoundPage'; +// import HomePage from './pages/HomePage'; function App() { return ( -
Sorry this page is not valid
*/} +