X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/dab7bbaf5fdee0e4e56c0bbfe14da5ad42b5869d..b2fcdb2fac8ba49fecca5c30fc56e63b71746cf3:/src/views-components/form-fields/repository-form-fields.tsx

diff --git a/src/views-components/form-fields/repository-form-fields.tsx b/src/views-components/form-fields/repository-form-fields.tsx
index 932a5fe2..8d2359e4 100644
--- a/src/views-components/form-fields/repository-form-fields.tsx
+++ b/src/views-components/form-fields/repository-form-fields.tsx
@@ -2,10 +2,10 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from "react";
+import React from "react";
 import { Field } from "redux-form";
-import { TextField } from "~/components/text-field/text-field";
-import { REPOSITORY_NAME_VALIDATION } from "~/validators/validators";
+import { TextField } from "components/text-field/text-field";
+import { REPOSITORY_NAME_VALIDATION } from "validators/validators";
 import { Grid } from "@material-ui/core";
 
 export const RepositoryNameField = (props: any) =>
@@ -16,7 +16,7 @@ export const RepositoryNameField = (props: any) =>
         <Grid item xs={7} style={{ bottom: '24px', position: 'relative' }}>
             <Field
                 name='name'
-                component={TextField}
+                component={TextField as any}
                 validate={REPOSITORY_NAME_VALIDATION}
                 label="Name"
                 autoFocus={true} />
