- Delete unused page-advanced.tsx and page-backup.tsx (dashboard duplicates) - Add useApi hook for centralized API calls with auth token - Add LoadingState, ErrorState, StatusBadge reusable components - Create shared ProfilePage component for admin/employee profiles - Refactor admin and employee profile pages to use shared component This refactoring addresses SonarQube quality gate failure for duplicated lines. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
496 B
TypeScript
10 lines
496 B
TypeScript
export { Input } from './Input';
|
|
export { Modal } from './Modal';
|
|
export { Card, CardHeader, CardTitle, CardContent, CardFooter } from './Card';
|
|
export { Loading } from './Loading';
|
|
export { Badge } from './Badge';
|
|
export { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from './Table';
|
|
export { LoadingState } from './LoadingState';
|
|
export { ErrorState } from './ErrorState';
|
|
export { StatusBadge, getRoleBadgeColor, getTicketStatusColor, getStatusColor } from './StatusBadge';
|