Skip to content

Commit 58ef2de

Browse files
committed
Colean up
1 parent 48f7be9 commit 58ef2de

File tree

2 files changed

+0
-3
lines changed
  • apps/sim
    • app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message
    • stores/panel/copilot

2 files changed

+0
-3
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ const CopilotMessage: FC<CopilotMessageProps> = memo(
8080
isAborting,
8181
} = useCopilotStore()
8282

83-
// Use stable selector to avoid re-renders when unrelated state changes
8483
const maskCredentialValue = useCopilotStore((s) => s.maskCredentialValue)
8584

8685
const messageCheckpoints = isUser ? allMessageCheckpoints[message.id] || [] : []

apps/sim/stores/panel/copilot/store.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2737,8 +2737,6 @@ export const useCopilotStore = create<CopilotStore>()(
27372737
}))
27382738
}
27392739

2740-
// Load sensitive credential IDs and auto-allowed tools in background (non-blocking)
2741-
// These will be ready before any tool calls arrive since SSE setup takes time
27422740
get().loadSensitiveCredentialIds().catch((err) => {
27432741
logger.warn('[Copilot] Failed to load sensitive credential IDs', err)
27442742
})

0 commit comments

Comments
 (0)