//
// 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";
<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} />