fix: repair patient route protector #58
@ -694,7 +694,7 @@ export default function PacientePage() {
|
|||||||
|
|
||||||
// Renderização principal
|
// Renderização principal
|
||||||
return (
|
return (
|
||||||
<ProtectedRoute>
|
<ProtectedRoute requiredUserType={["paciente"]}>
|
||||||
<div className="min-h-screen bg-background text-foreground flex flex-col">
|
<div className="min-h-screen bg-background text-foreground flex flex-col">
|
||||||
{/* Header só com título e botão de sair */}
|
{/* Header só com título e botão de sair */}
|
||||||
<header className="flex items-center justify-between px-4 py-2 border-b bg-card">
|
<header className="flex items-center justify-between px-4 py-2 border-b bg-card">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user