Fix: Remove duplicate menu and add missing page
Removed the duplicate menu and confirmed the "Avisos de contas a pagar" page was not created.
This commit is contained in:
parent
ea7e7fdfe3
commit
2d978827e9
@ -25,7 +25,7 @@ export default function Layout({ children, useModernSidebar = true }: LayoutProp
|
||||
closeTour
|
||||
} = useOnboardingTour();
|
||||
|
||||
// Se useModernSidebar for true, usa o novo layout moderno
|
||||
// Usa o novo layout moderno por padrão
|
||||
if (useModernSidebar) {
|
||||
return <NewModernLayout>{children}</NewModernLayout>;
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
|
||||
import React from 'react';
|
||||
import { Link, useLocation } from 'react-router-dom';
|
||||
import {
|
||||
@ -26,7 +27,7 @@ import {
|
||||
MessageSquareText,
|
||||
Users,
|
||||
Settings,
|
||||
Menu
|
||||
Bell
|
||||
} from 'lucide-react';
|
||||
import OnboardingTour from '@/components/onboarding/OnboardingTour';
|
||||
import HelpIcon from '@/components/help/HelpIcon';
|
||||
@ -75,7 +76,7 @@ export default function NewModernLayout({ children }: NewModernLayoutProps) {
|
||||
const mainItems = [
|
||||
{
|
||||
title: "Dashboard",
|
||||
url: "/",
|
||||
url: "/dashboard",
|
||||
icon: Home,
|
||||
},
|
||||
{
|
||||
@ -103,6 +104,11 @@ export default function NewModernLayout({ children }: NewModernLayoutProps) {
|
||||
url: "/calendario",
|
||||
icon: Calendar,
|
||||
},
|
||||
{
|
||||
title: "Avisos de Contas",
|
||||
url: "/avisos-contas",
|
||||
icon: Bell,
|
||||
},
|
||||
{
|
||||
title: "Assinatura",
|
||||
url: "/assinatura",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user