@@ -38,7 +38,9 @@ export const DatabricksForm: React.FC<IDatabricksFormProps> = ({
3838 onSave,
3939 onCancel
4040} ) => {
41- const [ pendingConfig , setPendingConfig ] = React . useState < Extract < DatabaseIntegrationConfig , { type : 'databricks' } > > (
41+ const [ pendingConfig , setPendingConfig ] = React . useState <
42+ Extract < DatabaseIntegrationConfig , { type : 'databricks' } >
43+ > (
4244 existingConfig
4345 ? structuredClone ( existingConfig )
4446 : createEmptyDatabricksConfig ( { id : integrationId , name : defaultName } )
@@ -109,7 +111,10 @@ export const DatabricksForm: React.FC<IDatabricksFormProps> = ({
109111 id = "host"
110112 value = { pendingConfig . metadata . host }
111113 onChange = { handleHostChange }
112- placeholder = { getLocString ( 'integrationsDatabricksHostPlaceholder' , 'dbc-1234abcd-5678.cloud.databricks.com' ) }
114+ placeholder = { getLocString (
115+ 'integrationsDatabricksHostPlaceholder' ,
116+ 'dbc-1234abcd-5678.cloud.databricks.com'
117+ ) }
113118 autoComplete = "off"
114119 required
115120 />
@@ -125,7 +130,10 @@ export const DatabricksForm: React.FC<IDatabricksFormProps> = ({
125130 id = "httpPath"
126131 value = { pendingConfig . metadata . httpPath }
127132 onChange = { handleHttpPathChange }
128- placeholder = { getLocString ( 'integrationsDatabricksHttpPathPlaceholder' , '/sql/1.0/warehouses/abc123' ) }
133+ placeholder = { getLocString (
134+ 'integrationsDatabricksHttpPathPlaceholder' ,
135+ '/sql/1.0/warehouses/abc123'
136+ ) }
129137 autoComplete = "off"
130138 required
131139 />
@@ -160,7 +168,9 @@ export const DatabricksForm: React.FC<IDatabricksFormProps> = ({
160168 </ div >
161169
162170 < div className = "form-group" >
163- < label htmlFor = "catalog" > { getLocString ( 'integrationsDatabricksCatalogLabel' , 'Catalog (optional)' ) } </ label >
171+ < label htmlFor = "catalog" >
172+ { getLocString ( 'integrationsDatabricksCatalogLabel' , 'Catalog (optional)' ) }
173+ </ label >
164174 < input
165175 type = "text"
166176 id = "catalog"
@@ -194,4 +204,3 @@ export const DatabricksForm: React.FC<IDatabricksFormProps> = ({
194204 </ form >
195205 ) ;
196206} ;
197-
0 commit comments