From dacb8f198ec8f7ebf924e169e9bb5d223e56c7fc Mon Sep 17 00:00:00 2001
From: engineersatyaa <146058207+satyatestwin@users.noreply.github.com>
Date: Fri, 12 Jan 2024 17:31:58 +0530
Subject: [PATCH] change in URL
---
src/components/MobileMenu.jsx | 2 +-
src/components/Sidebar.jsx | 2 +-
src/main.jsx | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/MobileMenu.jsx b/src/components/MobileMenu.jsx
index fc3080c..e3346b8 100644
--- a/src/components/MobileMenu.jsx
+++ b/src/components/MobileMenu.jsx
@@ -8,7 +8,7 @@ const menuList = [
{
name: "Home",
icon: ,
- link: "/dashboard-2/home",
+ link: "/dashboard-2/",
},
{
name: "Details",
diff --git a/src/components/Sidebar.jsx b/src/components/Sidebar.jsx
index 52e7923..aeb46ab 100644
--- a/src/components/Sidebar.jsx
+++ b/src/components/Sidebar.jsx
@@ -10,7 +10,7 @@ const navList = [
{
name: "Home",
icon: ,
- link: "/dashboard-2/home",
+ link: "/dashboard-2/",
},
{
name: "Details",
diff --git a/src/main.jsx b/src/main.jsx
index 6115cf9..eeb9a23 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -7,12 +7,12 @@ import "./index.css";
const router = createBrowserRouter([
{
- path: "/dashboard-2",
+ path: "/dashboard-2/",
element: ,
children: [
{
- path: "/dashboard-2/home",
+ path: "/dashboard-2/",
element: ,
},