Merge pull request 'fix: repair patient route protector' (#58) from feature/add-new-user-endpoint into develop

Reviewed-on: #58
This commit is contained in:
JoaoGustavo-dev 2025-10-22 21:51:12 +00:00
commit 4687d88d2f

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