diff --git a/packages/engine-frontend/hocs/WithConnectorConnect.tsx b/packages/engine-frontend/hocs/WithConnectorConnect.tsx index 3f980d7f..d2d94631 100644 --- a/packages/engine-frontend/hocs/WithConnectorConnect.tsx +++ b/packages/engine-frontend/hocs/WithConnectorConnect.tsx @@ -150,7 +150,7 @@ export const WithConnectorConnect = ({ if (err === CANCELLATION_TOKEN) { return } - console.log(ccfg.connector.displayName + ' connection error:',err) + console.log(ccfg.connector.displayName + ' connection error:', err) toast({ title: `Failed to connect to ${ccfg.connector.displayName}`, // description: `${err}`, @@ -196,8 +196,12 @@ export const WithConnectorConnect = ({ label: resource ? 'Reconnect' : 'Connect', })} - - + +
@@ -205,8 +209,8 @@ export const WithConnectorConnect = ({ {ccfg.connector.name === 'greenhouse' && (
- -
+ +

Generate a custom API key with{' '} )} - - ccfg.connector.schemas.resourceSettings ?? schema - } - formData={{}} - // formData should be non-null at this point, we should fix the typing - loading={connect.isLoading} - onSubmit={({formData}) => { - console.log('resource form submitted', formData) - connect.mutate({connectorConfigId: ccfg.id, settings: formData}) - }} - hideSubmitButton - /> - {/* Children here */} - +

+