Fix: Settings page navigation
Ensure settings page uses the same layout as other menu items, preserving the sidebar.
This commit is contained in:
parent
07bf385f0e
commit
67c1dd3ac3
@ -8,8 +8,7 @@ const Configuracoes = () => {
|
||||
const [tab, setTab] = useState("visao-geral");
|
||||
|
||||
return (
|
||||
<div className="flex min-h-screen w-full bg-background">
|
||||
<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}>
|
||||
<TabsList className="mb-6">
|
||||
@ -39,9 +38,9 @@ const Configuracoes = () => {
|
||||
</div>
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</main>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Configuracoes;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user