diff --git a/frontend/App.tsx b/frontend/App.tsx index 1fcccc1..bae1c68 100755 --- a/frontend/App.tsx +++ b/frontend/App.tsx @@ -4,6 +4,7 @@ import { useIsAuthenticated, useMsal } from '@azure/msal-react'; import { InteractionStatus } from '@azure/msal-browser'; import { Hero } from './components/Hero'; import { analyzeProof } from './services/geminiService'; +import { getUserInfo } from './services/authService'; import type { AgentReview, AgentName, FlaggedItem, ResolvedItem, ErrorItem } from './types'; import { AGENT_NAMES } from './constants'; import { Sidebar } from './components/Sidebar'; @@ -820,9 +821,17 @@ const App: React.FC = () => { // Determine background color based on view to avoid grey bar on Home view const mainBgColor = currentView === 'Home' ? 'bg-white' : 'bg-brand-gray'; + // Get user info from MSAL for sidebar display + const userInfo = getUserInfo(msalInstance); + return (
Steve O'Donoghue
-OLIVER Agency
+{userName || 'Unknown User'}
+{userEmail || ''}