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
|
closeTour
|
||||||
} = useOnboardingTour();
|
} = useOnboardingTour();
|
||||||
|
|
||||||
// Se useModernSidebar for true, usa o novo layout moderno
|
// Usa o novo layout moderno por padrão
|
||||||
if (useModernSidebar) {
|
if (useModernSidebar) {
|
||||||
return <NewModernLayout>{children}</NewModernLayout>;
|
return <NewModernLayout>{children}</NewModernLayout>;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Link, useLocation } from 'react-router-dom';
|
import { Link, useLocation } from 'react-router-dom';
|
||||||
import {
|
import {
|
||||||
@ -26,7 +27,7 @@ import {
|
|||||||
MessageSquareText,
|
MessageSquareText,
|
||||||
Users,
|
Users,
|
||||||
Settings,
|
Settings,
|
||||||
Menu
|
Bell
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import OnboardingTour from '@/components/onboarding/OnboardingTour';
|
import OnboardingTour from '@/components/onboarding/OnboardingTour';
|
||||||
import HelpIcon from '@/components/help/HelpIcon';
|
import HelpIcon from '@/components/help/HelpIcon';
|
||||||
@ -75,7 +76,7 @@ export default function NewModernLayout({ children }: NewModernLayoutProps) {
|
|||||||
const mainItems = [
|
const mainItems = [
|
||||||
{
|
{
|
||||||
title: "Dashboard",
|
title: "Dashboard",
|
||||||
url: "/",
|
url: "/dashboard",
|
||||||
icon: Home,
|
icon: Home,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -103,6 +104,11 @@ export default function NewModernLayout({ children }: NewModernLayoutProps) {
|
|||||||
url: "/calendario",
|
url: "/calendario",
|
||||||
icon: Calendar,
|
icon: Calendar,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "Avisos de Contas",
|
||||||
|
url: "/avisos-contas",
|
||||||
|
icon: Bell,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "Assinatura",
|
title: "Assinatura",
|
||||||
url: "/assinatura",
|
url: "/assinatura",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user