X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/e3d13624759c128c326b64e9e0e60996bd28aadf..1e1abe6a0146d3f31836334a7e5880e349afed24:/src/views-components/dialog-create/dialog-repository-create.tsx

diff --git a/src/views-components/dialog-create/dialog-repository-create.tsx b/src/views-components/dialog-create/dialog-repository-create.tsx
index 465f622e..45817224 100644
--- a/src/views-components/dialog-create/dialog-repository-create.tsx
+++ b/src/views-components/dialog-create/dialog-repository-create.tsx
@@ -13,11 +13,9 @@ type DialogRepositoryProps = WithDialogProps<{}> & InjectedFormProps<any>;
 export const DialogRepositoryCreate = (props: DialogRepositoryProps) =>
     <FormDialog
         dialogTitle='Add new repository'
-        formFields={RepositoryAddField}
+        formFields={RepositoryNameField}
         submitLabel='CREATE REPOSITORY'
         {...props}
     />;
 
-const RepositoryAddField = () =>
-    <RepositoryNameField />;
 
