Fix: Remove "Geral" from settings page

The "Geral" menu item should not be displayed as a separate page, but rather the content should be displayed within the "Configurações" page. This commit removes the "Geral" page and ensures the correct display of the settings menu.
This commit is contained in:
gpt-engineer-app[bot] 2025-06-15 19:27:54 +00:00
parent e5b764b986
commit 07bf385f0e

View File

@ -1,6 +1,4 @@
import { SidebarProvider } from "@/components/ui/sidebar";
import SettingsSidebar from "@/components/settings/SettingsSidebar";
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";
import MeuCadastroForm from "@/components/settings/MeuCadastroForm";
import { useState } from "react";
@ -10,9 +8,7 @@ const Configuracoes = () => {
const [tab, setTab] = useState("visao-geral");
return (
<SidebarProvider>
<div className="flex min-h-screen w-full bg-background">
<SettingsSidebar />
<main className="flex-1 p-4 md:p-8">
<h1 className="text-2xl font-bold mb-6">Configurações</h1>
<Tabs value={tab} onValueChange={setTab}>
@ -45,7 +41,6 @@ const Configuracoes = () => {
</Tabs>
</main>
</div>
</SidebarProvider>
);
};