From c3cd0c5603515f47cac28ad91169164407097af6 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Wed, 22 Nov 2023 23:32:11 +1030 Subject: [PATCH] Change route --- src/App.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index d23df81..5dc643d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,5 @@ import { theme } from "./Theme"; -import { - createBrowserRouter, - Navigate, - RouterProvider, -} from "react-router-dom"; +import { createBrowserRouter, RouterProvider } from "react-router-dom"; import { CssBaseline, ThemeProvider } from "@mui/material"; import Configuration from "./pages/Configuration/Configuration"; import PatientSummary from "./pages/PatientSummary/PatientSummary"; @@ -19,7 +15,7 @@ function App() { const router = createBrowserRouter([ { - path: "/", + path: "/ehr", element: , children: [ { @@ -32,10 +28,6 @@ function App() { }, ], }, - { - path: "*", - element: , - }, ]); return (