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:
commit
4687d88d2f
@ -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