Skip to content

Commit

Permalink
change in URL
Browse files Browse the repository at this point in the history
  • Loading branch information
engineersatyaa committed Jan 12, 2024
1 parent d788422 commit dacb8f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/MobileMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const menuList = [
{
name: "Home",
icon: <GrHomeRounded size={18} />,
link: "/dashboard-2/home",
link: "/dashboard-2/",
},
{
name: "Details",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const navList = [
{
name: "Home",
icon: <GrHomeRounded size={20} />,
link: "/dashboard-2/home",
link: "/dashboard-2/",
},
{
name: "Details",
Expand Down
4 changes: 2 additions & 2 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import "./index.css";

const router = createBrowserRouter([
{
path: "/dashboard-2",
path: "/dashboard-2/",
element: <App />,

children: [
{
path: "/dashboard-2/home",
path: "/dashboard-2/",
element: <Home />,
},

Expand Down

0 comments on commit dacb8f1

Please sign in to comment.