diff --git a/payment-iq/app/dashboard/rules/page.tsx b/payment-iq/app/dashboard/rules/page.tsx new file mode 100644 index 0000000..a3178fe --- /dev/null +++ b/payment-iq/app/dashboard/rules/page.tsx @@ -0,0 +1,7 @@ +export default function RulesPage() { + return ( +
+

Rules Overview - SSR

+
+ ); +} diff --git a/payment-iq/app/features/dashboard/header/dropDown/DropDown.tsx b/payment-iq/app/features/dashboard/header/dropDown/DropDown.tsx index b4babda..b1f4596 100644 --- a/payment-iq/app/features/dashboard/header/dropDown/DropDown.tsx +++ b/payment-iq/app/features/dashboard/header/dropDown/DropDown.tsx @@ -6,7 +6,7 @@ import { MenuItem, SelectChangeEvent, } from "@mui/material"; -import { SIDEBAR_LINKS } from "@/app/features/dashboard/sidebar/SidebarLink.constants"; +import { PAGE_LINKS } from "@/app/features/dashboard/sidebar/SidebarLink.constants"; import { ISidebarLink } from "@/app/features/dashboard/sidebar/SidebarLink.interfaces"; import PageLinks from "../../../../components/PageLinks/PageLinks"; import "./DropDown.scss"; @@ -42,7 +42,7 @@ export default function SidebarDropdown({ onChange }: Props) { Select a page
- {SIDEBAR_LINKS.map((link: ISidebarLink) => ( + {PAGE_LINKS.map((link: ISidebarLink) => ( ))}
diff --git a/payment-iq/app/features/dashboard/sidebar/Sidebar.tsx b/payment-iq/app/features/dashboard/sidebar/Sidebar.tsx index 203842b..5c43b0f 100644 --- a/payment-iq/app/features/dashboard/sidebar/Sidebar.tsx +++ b/payment-iq/app/features/dashboard/sidebar/Sidebar.tsx @@ -2,7 +2,7 @@ import React from "react"; import DashboardIcon from "@mui/icons-material/Dashboard"; -import { SIDEBAR_LINKS } from "@/app/features/dashboard/sidebar/SidebarLink.constants"; +import { PAGE_LINKS } from "@/app/features/dashboard/sidebar/SidebarLink.constants"; import PageLinks from "../../../components/PageLinks/PageLinks"; import "./sideBar.scss"; @@ -15,7 +15,7 @@ const SideBar = () => { - {SIDEBAR_LINKS.map((link) => ( + {PAGE_LINKS.map((link) => (