From 778a172f4ead1a34b6ad5120ad23bc8bbd20d412 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Mon, 23 Mar 2026 06:43:54 +0000 Subject: [PATCH] fix: resolve TypeScript build errors in StatusUpdateModal and FlowPilotSessionPage Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/flowpilot/StatusUpdateModal.tsx | 2 +- frontend/src/pages/FlowPilotSessionPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/flowpilot/StatusUpdateModal.tsx b/frontend/src/components/flowpilot/StatusUpdateModal.tsx index 6b3641bd..b1c64c4a 100644 --- a/frontend/src/components/flowpilot/StatusUpdateModal.tsx +++ b/frontend/src/components/flowpilot/StatusUpdateModal.tsx @@ -25,7 +25,7 @@ const LENGTHS: { value: StatusUpdateLength; icon: typeof Zap; label: string; des type ModalStep = 'audience' | 'length' | 'generating' | 'result' -export function StatusUpdateModal({ open, onClose, onGenerate, context = 'status', hasPsaTicket = false }: StatusUpdateModalProps) { +export function StatusUpdateModal({ open, onClose, onGenerate, context = 'status' }: StatusUpdateModalProps) { const [step, setStep] = useState('audience') const [audience, setAudience] = useState(null) const [length, setLength] = useState(null) diff --git a/frontend/src/pages/FlowPilotSessionPage.tsx b/frontend/src/pages/FlowPilotSessionPage.tsx index 917cc7ac..a8a03e35 100644 --- a/frontend/src/pages/FlowPilotSessionPage.tsx +++ b/frontend/src/pages/FlowPilotSessionPage.tsx @@ -237,7 +237,7 @@ export default function FlowPilotSessionPage() { }} onRate={fp.rateSession} onReloadSession={() => fp.loadSession(fp.session!.id)} - onGenerateStatusUpdate={fp.generateStatusUpdate} + onGenerateStatusUpdate={(audience, length, context) => fp.generateStatusUpdate({ audience, length, context })} />