Skip to content

Commit d5411df

Browse files
wuriyantowuriyanto
authored andcommitted
dashboard: remove unused code
1 parent 1fa665c commit d5411df

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

dashboard/ui/src/index.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,9 @@ import reportWebVitals from './reportWebVitals';
44
import { Dashboard, ErrorPage, Login } from './pages'
55
import {
66
createBrowserRouter,
7-
RouterProvider,
8-
Route,
9-
Routes,
7+
RouterProvider
108
} from "react-router-dom";
119

12-
// function Root() {
13-
// return (
14-
// <Routes>
15-
// <Route path="/" element={<Login />} />
16-
// <Route path="/dashboard/*" element={<Dashboard />} />
17-
// <Route path="/about/*" element={<div>Hello</div>} />
18-
// </Routes>
19-
// );
20-
// }
21-
2210
const router = createBrowserRouter([
2311
{
2412
path: "/",

0 commit comments

Comments
 (0)