import { useState } from 'react' import { toast } from '@/lib/toast' interface Props { ticketId: string sessionId?: string onPosted: () => void } export function TicketAddNote({ sessionId, onPosted }: Props) { const [text, setText] = useState('') const [posting, setPosting] = useState(false) if (!sessionId) { return (
Start a FlowPilot or ResolutionAssist session linked to this ticket to post notes.