import { useState, useEffect, useRef, useCallback } from 'react' import { useNavigate, Link } from 'react-router-dom' import { Ticket, ChevronDown, Check, AlertCircle } from 'lucide-react' import { integrationsApi } from '@/api/integrations' import type { PSABoard, PSATicketSearchResult } from '@/types/integrations' import { cn } from '@/lib/utils' const PAGE_SIZE = 5 type Tab = 'mine' | 'unassigned' function SkeletonRows() { return (
Map your PSA member {' '} to see your ticket queue.
No open tickets assigned to you
Make sure your member mapping is configured in Account → Integrations
> ) : (No unassigned open tickets
)}