'use client'; import { useTransition, useState } from 'react'; import type { User } from '@/lib/types/user'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { EscalationForm } from '../dialogs/EscalationForm'; import { MessageSquare, Mail, Plus, UserCircle2, Headphones, Loader2 } from 'lucide-react'; import { toast } from 'sonner'; interface SupportTabProps { user: User; } export function SupportTab({ user }: SupportTabProps) { const [createDialogOpen, setCreateDialogOpen] = useState(false); // Filter state could go here in future // const [filter, setFilter] = useState('all'); return (