diff --git a/src/components/portal/portal-shell.tsx b/src/components/portal/portal-shell.tsx
index abdaa73..17abd38 100644
--- a/src/components/portal/portal-shell.tsx
+++ b/src/components/portal/portal-shell.tsx
@@ -9,6 +9,7 @@ import { toast } from "sonner"
import { Button } from "@/components/ui/button"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
+import { Skeleton } from "@/components/ui/skeleton"
import { cn } from "@/lib/utils"
import { useAuth, signOut } from "@/lib/auth-client"
@@ -115,19 +116,29 @@ export function PortalShell({ children }: PortalShellProps) {
})}
-
-
-
- {initials}
-
-
-
{displayName}
-
{displayEmail || "Sem e-mail definido"}
- {personaValue ? (
-
{personaLabel}
- ) : null}
+ {machineContextLoading ? (
+
-
+ ) : (
+
+
+
+ {initials}
+
+
+ {displayName}
+ {displayEmail || "Sem e-mail definido"}
+ {personaValue ? (
+ {personaLabel}
+ ) : null}
+
+
+ )}
{!isMachineSession ? (
) : null}
- {!machineContextError && machineContextLoading ? (
-
- Recuperando dados do colaborador vinculado...
-
- ) : null}
{children}