diff --git a/packages/core/src/reducers/core.ts b/packages/core/src/reducers/core.ts index d21ad8480..954cea98d 100644 --- a/packages/core/src/reducers/core.ts +++ b/packages/core/src/reducers/core.ts @@ -45,14 +45,7 @@ import { import { JsonFormsCore, Reducer, ValidationMode } from '../store'; import Ajv, { ErrorObject } from 'ajv'; import { isFunction } from 'lodash'; -import { - composePaths, - createAjv, - isOneOfEnumSchema, - Reducer, - toLodashSegments, - validate, -} from '../util'; +import { createAjv, toLodashSegments, validate } from '../util'; export const initState: JsonFormsCore = { data: {}, diff --git a/packages/core/src/reducers/i18n.ts b/packages/core/src/reducers/i18n.ts index ed5966b74..1cc3c0512 100644 --- a/packages/core/src/reducers/i18n.ts +++ b/packages/core/src/reducers/i18n.ts @@ -23,13 +23,7 @@ THE SOFTWARE. */ -import { - defaultErrorTranslator, - defaultTranslator, - ErrorTranslator, - JsonFormsI18nState, - Translator, -} from '../i18n'; +import { defaultErrorTranslator, defaultTranslator } from '../i18n'; import { I18nActions, SET_LOCALE, @@ -37,8 +31,10 @@ import { UPDATE_I18N, } from '../actions'; import { Reducer } from '../store/type'; -import { JsonFormsI18nState } from '../store'; +import { ErrorTranslator, JsonFormsI18nState, Translator } from '../store'; import { UISchemaElement } from '../models'; +import { toLodashPath } from '../util'; +import { ErrorObject } from 'ajv'; export const defaultJsonFormsI18nState: Required = { locale: 'en',