diff --git a/admin-spa/src/routes/More/index.tsx b/admin-spa/src/routes/More/index.tsx index abed9e6..d08f863 100644 --- a/admin-spa/src/routes/More/index.tsx +++ b/admin-spa/src/routes/More/index.tsx @@ -12,7 +12,6 @@ interface MenuItem { label: string; description: string; to: string; - children?: { label: string; to: string }[]; } const menuItems: MenuItem[] = [ @@ -20,11 +19,7 @@ const menuItems: MenuItem[] = [ icon: , label: __('Marketing'), description: __('Newsletter, coupons, and promotions'), - to: '/marketing', - children: [ - { label: __('Newsletter'), to: '/marketing/newsletter' }, - { label: __('Coupons'), to: '/coupons' }, - ] + to: '/marketing' }, { icon: , @@ -80,37 +75,22 @@ export default function MorePage() { {/* Menu Items */}
{menuItems.map((item) => ( -
- - {/* Submenu items */} - {item.children && item.children.length > 0 && ( -
- {item.children.map((child) => ( - - ))} -
- )} -
+
+ + ))}