Added path for details page for the monitors.
This commit is contained in:
1 parent
6f4e7d6631
commit
fa70ae655a
3 files changed
+14
No files matched your search
@@ -18,6 +18,7 @@ import CheckEmail from "./Pages/CheckEmail";
|
|||||||
import SetNewPassword from "./Pages/SetNewPassword";
|
import SetNewPassword from "./Pages/SetNewPassword";
|
||||||
import NewPasswordConfirmed from "./Pages/NewPasswordConfirmed";
|
import NewPasswordConfirmed from "./Pages/NewPasswordConfirmed";
|
||||||
import ProtectedRoute from "./Components/ProtectedRoute";
|
import ProtectedRoute from "./Components/ProtectedRoute";
|
||||||
|
import Details from "./Pages/Details";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
@@ -41,6 +42,10 @@ function App() {
|
|||||||
path="incidents"
|
path="incidents"
|
||||||
element={<ProtectedRoute Component={Incidents} />}
|
element={<ProtectedRoute Component={Incidents} />}
|
||||||
/>
|
/>
|
||||||
|
<Route
|
||||||
|
path="details"
|
||||||
|
element={<ProtectedRoute Component={Details} />}
|
||||||
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="status"
|
path="status"
|
||||||
element={<ProtectedRoute Component={Status} />}
|
element={<ProtectedRoute Component={Status} />}
|
||||||
|
|||||||
Whitespace-only changes.
@@ -0,0 +1,9 @@
|
|||||||
|
import './index.css'
|
||||||
|
|
||||||
|
const Details = () => {
|
||||||
|
return (
|
||||||
|
<div>details</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Details
|
||||||
Reference in new issue
Block a user