Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(github): 允许连接入口仅通过事件刷新状态

Dash96c8ee2a1c4b
diff --git a/apps/desktop/src/renderer/features/cc-agent/GithubConnectButton.tsx b/apps/desktop/src/renderer/features/cc-agent/GithubConnectButton.tsx
index 46d050e0e4..9a87cad30f 100644
--- a/apps/desktop/src/renderer/features/cc-agent/GithubConnectButton.tsx
+++ b/apps/desktop/src/renderer/features/cc-agent/GithubConnectButton.tsx
@@ -8,7 +8,7 @@ export function GithubConnectButton({
onConnected,
visible = true,
}: {
- onConnected(): void;
+ onConnected?(): void;
visible?: boolean;
}) {
const { t } = useTranslation();