style: fix ruff format and prettier formatting

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Sameer Kankute 2026-07-01 11:36:15 +05:30
parent c5e40e6345
commit d2aee7e659
No known key found for this signature in database
2 changed files with 211 additions and 629 deletions

File diff suppressed because it is too large Load diff

View file

@ -91,13 +91,21 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
const [oauthDocsUrl, setOauthDocsUrl] = useState<string | null>(null);
// Single hook call shared by MCPConnectionStatus and MCPToolConfiguration to avoid duplicate requests.
const { tools, isLoadingTools, toolsError, toolsErrorStatus, toolsErrorStackTrace, canFetchTools, fetchTools, clearTools } =
useTestMCPConnection({
accessToken,
oauthAccessToken,
formValues,
enabled: true,
});
const {
tools,
isLoadingTools,
toolsError,
toolsErrorStatus,
toolsErrorStackTrace,
canFetchTools,
fetchTools,
clearTools,
} = useTestMCPConnection({
accessToken,
oauthAccessToken,
formValues,
enabled: true,
});
const authType = formValues.auth_type as string | undefined;
const shouldShowAuthValueField = authType ? AUTH_TYPES_REQUIRING_AUTH_VALUE.includes(authType) : false;