Skip to content

Commit

Permalink
dashboard: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
wuriyanto authored and wuriyanto committed Aug 31, 2024
1 parent 1fa665c commit d5411df
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions dashboard/ui/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,9 @@ import reportWebVitals from './reportWebVitals';
import { Dashboard, ErrorPage, Login } from './pages'
import {
createBrowserRouter,
RouterProvider,
Route,
Routes,
RouterProvider
} from "react-router-dom";

// function Root() {
// return (
// <Routes>
// <Route path="/" element={<Login />} />
// <Route path="/dashboard/*" element={<Dashboard />} />
// <Route path="/about/*" element={<div>Hello</div>} />
// </Routes>
// );
// }

const router = createBrowserRouter([
{
path: "/",
Expand Down

0 comments on commit d5411df

Please sign in to comment.