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:
parent
03547c19b5
commit
99a4758dc8
@ -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>
|
||||||
|
|||||||
@ -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>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user