// import { Button } from './ui/button'; // import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './ui/card'; // import { Users, GraduationCap, Shield } from 'lucide-react'; import { useAuth } from '../lib/authContext'; export function RoleSwitcher() { const { user, updateProfile } = useAuth(); const switchRole = (role: 'student' | 'sheikh' | 'admin') => { updateProfile({ role, profileCompleted: true }); window.location.reload(); }; return (
{/* Role Switcher (Dev Only) Current: {user?.role} */}
); }