Skip to content
Merged
Show file tree
Hide file tree
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
fix(analytics): correct format field logic and add missing useCallbac…
…k deps
  • Loading branch information
waleedlatif1 committed Apr 3, 2026
commit 728fa7b8dceed07fb0a71e698e194001d712f7cb
2 changes: 1 addition & 1 deletion apps/sim/app/workspace/[workspaceId]/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export function Home({ chatId }: HomeProps = {}) {

sendMessage(trimmed || 'Analyze the attached file(s).', fileAttachments, contexts)
},
[sendMessage]
[sendMessage, workspaceId, chatId]
)

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function useImportWorkflow({ workspaceId }: UseImportWorkflowProps) {
captureEvent(posthogRef.current, 'workflow_imported', {
workspace_id: workspaceId,
workflow_count: importedWorkflowIds.length,
format: hasZip ? 'zip' : 'json',
format: hasZip && fileArray.length === 1 ? 'zip' : 'json',
})
Comment thread
waleedlatif1 marked this conversation as resolved.
router.push(
`/workspace/${workspaceId}/w/${importedWorkflowIds[importedWorkflowIds.length - 1]}`
Expand Down
Loading