Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(mothership): remove duplicate handleStopGeneration declaration
  • Loading branch information
waleedlatif1 committed Apr 15, 2026
commit d47d591299234fdb32fe07da6583b6dc11b33464
8 changes: 0 additions & 8 deletions apps/sim/app/workspace/[workspaceId]/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,6 @@ export function Home({ chatId }: HomeProps = {}) {
void stopGeneration().catch(() => {})
}, [stopGeneration, workspaceId])

const handleStopGeneration = useCallback(() => {
captureEvent(posthogRef.current, 'task_generation_aborted', {
workspace_id: workspaceId,
view: 'mothership',
})
stopGeneration()
}, [stopGeneration, workspaceId])

const handleSubmit = useCallback(
(text: string, fileAttachments?: FileAttachmentForApi[], contexts?: ChatContext[]) => {
const trimmed = text.trim()
Expand Down
Loading