import { IgrAvatar } from 'igniteui-react'; import { useAuth } from '../AuthContext'; import styles from './Profile.module.css'; export default function Profile() { const { currentUser } = useAuth(); const initials = ((currentUser?.given_name?.[0] ?? '') + (currentUser?.family_name?.[0] ?? '')).toUpperCase() || 'U'; return (
Signed in
Your account details are available on this protected route.