X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/e3d13624759c128c326b64e9e0e60996bd28aadf..25216cc7acedc987c26a159f0b640210c0ef101e:/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..744d1891 100644
--- a/src/views-components/dialog-create/dialog-repository-create.tsx
+++ b/src/views-components/dialog-create/dialog-repository-create.tsx
@@ -4,20 +4,18 @@
 
 import * as React from 'react';
 import { InjectedFormProps } from 'redux-form';
-import { WithDialogProps } from '~/store/dialog/with-dialog';
-import { FormDialog } from '~/components/form-dialog/form-dialog';
-import { RepositoryNameField } from '~/views-components/form-fields/repository-form-fields';
+import { WithDialogProps } from 'store/dialog/with-dialog';
+import { FormDialog } from 'components/form-dialog/form-dialog';
+import { RepositoryNameField } from 'views-components/form-fields/repository-form-fields';
 
 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 />;
 
