From 193ee7def8b56878a7ebcf7bd4ecba6505a9a805 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Tue, 3 Sep 2019 14:41:08 +0300 Subject: [PATCH] web: Client: Added empty Confirm page --- web/ASC.Web.Client/src/App.js | 2 ++ .../src/components/pages/Confirm/index.js | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 web/ASC.Web.Client/src/components/pages/Confirm/index.js diff --git a/web/ASC.Web.Client/src/App.js b/web/ASC.Web.Client/src/App.js index 1f0c3f66ed..cc440da967 100644 --- a/web/ASC.Web.Client/src/App.js +++ b/web/ASC.Web.Client/src/App.js @@ -8,6 +8,7 @@ import { Error404 } from "./components/pages/Error"; const Home = lazy(() => import("./components/pages/Home")); const About = lazy(() => import("./components/pages/About")); +const Confirm = lazy(() => import("./components/pages/Confirm")); const App = () => { return ( @@ -18,6 +19,7 @@ const App = () => { > + diff --git a/web/ASC.Web.Client/src/components/pages/Confirm/index.js b/web/ASC.Web.Client/src/components/pages/Confirm/index.js new file mode 100644 index 0000000000..57f4319ae0 --- /dev/null +++ b/web/ASC.Web.Client/src/components/pages/Confirm/index.js @@ -0,0 +1,14 @@ +import React from 'react'; +import { withRouter } from "react-router"; + +const Confirm = (props) => { + const { match } = props; + + const matchStr = JSON.stringify(match); + + return ( + {matchStr} + ); +} + +export default withRouter(Confirm); \ No newline at end of file