fix: repair patient route protector #58

Merged
JoaoGustavo-dev merged 1 commits from feature/add-new-user-endpoint into develop 2025-10-22 21:51:12 +00:00
Showing only changes of commit 7fc51a833d - Show all commits

View File

@ -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">