Skip to content

Commit 86c3b59

Browse files
waleedlatif1claude
andcommitted
refactor(emcn/toast): trim comments to concise TSDoc per project convention
Remove inline // and JSX {/* */} comments (the project documents with TSDoc only) and condense multi-paragraph TSDoc to 1-3 lines across toast.tsx, plus the stray inline comments in the console store and slack wizard. Behavior and code are unchanged — verified the non-comment source is byte-identical. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8786b1e commit 86c3b59

3 files changed

Lines changed: 43 additions & 206 deletions

File tree

  • apps/sim
    • app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/slack-setup-wizard
    • components/emcn/components/toast
    • stores/terminal/console

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/slack-setup-wizard/slack-setup-wizard.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ function StepCreate({ manifestJson, canCopy }: StepCreateProps) {
273273
setCopied(true)
274274
setTimeout(() => setCopied(false), 2000)
275275
} catch {
276-
// Keep the failure inside the wizard rather than firing a toast that
277-
// escapes to the screen corner.
278276
setCopyFailed(true)
279277
}
280278
}, [canCopy, manifestJson])

0 commit comments

Comments
 (0)