Skip to content

Commit f97bc0f

Browse files
waleedlatif1claude
andcommitted
fix: resolve duplicate declarations from rebase against staging
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6d176ea commit f97bc0f

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]

apps/sim/app/workspace/[workspaceId]/home/home.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,6 @@ export function Home({ chatId }: HomeProps = {}) {
201201
}
202202
}, [resources, collapseResource])
203203

204-
const handleStopGeneration = useCallback(() => {
205-
captureEvent(posthogRef.current, 'task_generation_aborted', {
206-
workspace_id: workspaceId,
207-
view: 'mothership',
208-
})
209-
void stopGeneration().catch(() => {})
210-
}, [stopGeneration, workspaceId])
211-
212204
const handleStopGeneration = useCallback(() => {
213205
captureEvent(posthogRef.current, 'task_generation_aborted', {
214206
workspace_id: workspaceId,

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -401,14 +401,6 @@ export const Panel = memo(function Panel({ workspaceId: propWorkspaceId }: Panel
401401
copilotStopGeneration()
402402
}, [copilotStopGeneration, workspaceId])
403403

404-
const handleCopilotStopGeneration = useCallback(() => {
405-
captureEvent(posthogRef.current, 'task_generation_aborted', {
406-
workspace_id: workspaceId,
407-
view: 'copilot',
408-
})
409-
copilotStopGeneration()
410-
}, [copilotStopGeneration, workspaceId])
411-
412404
const handleCopilotSubmit = useCallback(
413405
(text: string, fileAttachments?: FileAttachmentForApi[], contexts?: ChatContext[]) => {
414406
const trimmed = text.trim()

0 commit comments

Comments
 (0)