mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 21:11:12 -05:00
feat: Add production-safe logging for avatar debugging
This commit is contained in:
@@ -83,6 +83,17 @@ export function AuthButtons() {
|
||||
</>
|
||||
);
|
||||
}
|
||||
// Debug logging for avatar rendering
|
||||
console.log('[AuthButtons] Component render:', {
|
||||
hasUser: !!user,
|
||||
hasProfile: !!profile,
|
||||
hasAvatarUrl: !!profile?.avatar_url,
|
||||
avatarUrl: profile?.avatar_url,
|
||||
displayName: profile?.display_name,
|
||||
username: profile?.username,
|
||||
loading
|
||||
});
|
||||
|
||||
return <DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button variant="ghost" className="relative h-8 w-8 rounded-full">
|
||||
|
||||
Reference in New Issue
Block a user