fix(ui): pass empty OAuth options explicitly

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta 2026-09-05 04:05:06 +00:00 committed by cryppadotta
parent 64039bb3f5
commit 6ccb228f93
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ export function AppDetail({ renderActions, onReconnect }: {
setAudienceError(null);
}}
onConnectAsMe={() => onReconnect ? onReconnect(connection) : startPersonalAuth.mutate()}
onConnectOrganization={() => onReconnect ? onReconnect(connection) : startOAuth.mutate()}
onConnectOrganization={() => onReconnect ? onReconnect(connection) : startOAuth.mutate(undefined)}
onConnectAgent={(agentId) => startOAuth.mutate({ asAgentId: agentId })}
onRefreshAccess={() => refreshGitHubAccess.mutate()}
refreshAccessPending={refreshGitHubAccess.isPending}