Fix: Remove duplicate menu in other pages

The menu is duplicated in all pages except the "avisos" page. This commit removes the duplicated menu.
This commit is contained in:
gpt-engineer-app[bot] 2025-06-23 22:40:18 +00:00
parent 03547c19b5
commit 99a4758dc8
2 changed files with 110 additions and 113 deletions

View File

@ -10,7 +10,7 @@ const AvisosContas = () => {
const [showForm, setShowForm] = useState(false); const [showForm, setShowForm] = useState(false);
return ( return (
<div className="container mx-auto p-6 space-y-6"> <div className="space-y-6">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<div> <div>
<h1 className="text-3xl font-bold text-gray-900">Avisos de Contas a Pagar</h1> <h1 className="text-3xl font-bold text-gray-900">Avisos de Contas a Pagar</h1>

View File

@ -1,4 +1,3 @@
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import Layout from '@/components/layout/Layout'; import Layout from '@/components/layout/Layout';
import { CardSpotlight } from '@/components/ui/card-spotlight'; import { CardSpotlight } from '@/components/ui/card-spotlight';
@ -78,7 +77,6 @@ const CategoriasPage = () => {
const totalGastos = categories.reduce((total, category) => total + category.valor, 0); const totalGastos = categories.reduce((total, category) => total + category.valor, 0);
return ( return (
<Layout>
<div className="space-y-6"> <div className="space-y-6">
<div className="flex justify-between items-center"> <div className="flex justify-between items-center">
<h1 className="text-2xl font-bold tracking-tight">Categorias</h1> <h1 className="text-2xl font-bold tracking-tight">Categorias</h1>
@ -199,7 +197,6 @@ const CategoriasPage = () => {
</> </>
)} )}
</div> </div>
</Layout>
); );
}; };