Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/channels/YuanbaoConfig.tsx

Steven Enamakel74fc8efcc66a
diff --git a/app/src/components/channels/YuanbaoConfig.tsx b/app/src/components/channels/YuanbaoConfig.tsx
index 6763552f47..fa1a4f1e35 100644
--- a/app/src/components/channels/YuanbaoConfig.tsx
+++ b/app/src/components/channels/YuanbaoConfig.tsx
@@ -260,29 +260,7 @@ const YuanbaoConfig = ({ definition }: YuanbaoConfigProps) => {
size="sm"
disabled={busy}
onClick={handleConnect}
- leadingIcon={
- busy ? (
- <svg
- className="h-3 w-3 animate-spin"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24">
- <circle
- className="opacity-25"
- cx="12"
- cy="12"
- r="10"
- stroke="currentColor"
- strokeWidth="4"
- />
- <path
- className="opacity-75"
- fill="currentColor"
- d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"
- />
- </svg>
- ) : undefined
- }>
+ leadingIcon={busy ? <Spinner className="h-3 w-3" /> : undefined}>
{busy
? t('channels.yuanbao.connecting')
: status === 'connected'