From 2cb16ce08bd7f09fdff84c572429485384455d7a Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Wed, 28 Nov 2018 12:35:01 +0100 Subject: [PATCH] Clean up imports Feature #14393 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- .../resource-properties-form/property-key-field.tsx | 4 ++-- .../resource-properties-form/property-value-field.tsx | 3 +-- .../resource-properties-form/resource-properties-form.tsx | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views-components/resource-properties-form/property-key-field.tsx b/src/views-components/resource-properties-form/property-key-field.tsx index 18be627e..a8584c10 100644 --- a/src/views-components/resource-properties-form/property-key-field.tsx +++ b/src/views-components/resource-properties-form/property-key-field.tsx @@ -4,11 +4,11 @@ import * as React from 'react'; import { WrappedFieldProps, Field } from 'redux-form'; -import { identity, memoize } from 'lodash'; +import { memoize } from 'lodash'; import { Autocomplete } from '~/components/autocomplete/autocomplete'; import { Vocabulary } from '~/models/vocabulary'; import { require } from '~/validators/require'; -import { ITEMS_PLACEHOLDER, connectVocabulary, VocabularyProp, hasError, getErrorMsg, handleBlur, buildProps } from '~/views-components/resource-properties-form/property-field-common'; +import { connectVocabulary, VocabularyProp, buildProps } from '~/views-components/resource-properties-form/property-field-common'; export const PROPERTY_KEY_FIELD_NAME = 'key'; diff --git a/src/views-components/resource-properties-form/property-value-field.tsx b/src/views-components/resource-properties-form/property-value-field.tsx index ff0959d9..56eaf6d5 100644 --- a/src/views-components/resource-properties-form/property-value-field.tsx +++ b/src/views-components/resource-properties-form/property-value-field.tsx @@ -4,13 +4,12 @@ import * as React from 'react'; import { WrappedFieldProps, Field, formValues } from 'redux-form'; -import { identity } from 'lodash'; import { compose } from 'redux'; import { Autocomplete } from '~/components/autocomplete/autocomplete'; import { Vocabulary } from '~/models/vocabulary'; import { require } from '~/validators/require'; import { PROPERTY_KEY_FIELD_NAME } from '~/views-components/resource-properties-form/property-key-field'; -import { ITEMS_PLACEHOLDER, VocabularyProp, connectVocabulary, hasError, getErrorMsg, handleBlur, buildProps } from '~/views-components/resource-properties-form/property-field-common'; +import { VocabularyProp, connectVocabulary, buildProps } from '~/views-components/resource-properties-form/property-field-common'; interface PropertyKeyProp { propertyKey: string; diff --git a/src/views-components/resource-properties-form/resource-properties-form.tsx b/src/views-components/resource-properties-form/resource-properties-form.tsx index c881928c..eeddf12c 100644 --- a/src/views-components/resource-properties-form/resource-properties-form.tsx +++ b/src/views-components/resource-properties-form/resource-properties-form.tsx @@ -3,7 +3,7 @@ // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; -import { InjectedFormProps, reduxForm } from 'redux-form'; +import { InjectedFormProps } from 'redux-form'; import { Grid, withStyles } from '@material-ui/core'; import { PropertyKeyField, PROPERTY_KEY_FIELD_NAME } from './property-key-field'; import { PropertyValueField, PROPERTY_VALUE_FIELD_NAME } from './property-value-field'; -- 2.30.2