17782: Disabling typechecking for some common Field component usage.
[arvados-workbench2.git] / src / views-components / form-fields / ssh-key-form-fields.tsx
index b2274000f4701143dd6e8542b13d6d3ee4aeaf8c..2121725845bb3de524dfdf9db24eea965f2c8d5a 100644 (file)
@@ -10,7 +10,7 @@ import { SSH_KEY_PUBLIC_VALIDATION, SSH_KEY_NAME_VALIDATION } from "validators/v
 export const SshKeyPublicField = () =>
     <Field
         name='publicKey'
-        component={TextField}
+        component={TextField as any}
         validate={SSH_KEY_PUBLIC_VALIDATION}
         autoFocus={true}
         label="Public Key" />;
@@ -18,7 +18,7 @@ export const SshKeyPublicField = () =>
 export const SshKeyNameField = () =>
     <Field
         name='name'
-        component={TextField}
+        component={TextField as any}
         validate={SSH_KEY_NAME_VALIDATION}
         label="Name" />;