From b5fccc0f0fa5569025f030dec4c14cdc33da6e9a Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Thu, 21 May 2020 12:19:00 -0700 Subject: [PATCH] Remove unused language_tools import --- .../components/CustomAggregation/CustomAggregation.tsx | 2 -- .../createDetector/components/DataFilters/QueryDataFilter.tsx | 1 - 2 files changed, 3 deletions(-) diff --git a/public/pages/EditFeatures/components/CustomAggregation/CustomAggregation.tsx b/public/pages/EditFeatures/components/CustomAggregation/CustomAggregation.tsx index 2b7bd8cc..aae0c4b7 100644 --- a/public/pages/EditFeatures/components/CustomAggregation/CustomAggregation.tsx +++ b/public/pages/EditFeatures/components/CustomAggregation/CustomAggregation.tsx @@ -19,8 +19,6 @@ import { EuiFormRow, EuiCodeEditor } from '@elastic/eui'; import { Field, FieldProps } from 'formik'; import { isInvalid, getError } from '../../../../utils/utils'; -import 'brace/ext/language_tools'; - interface CustomAggregationProps { index: number; } diff --git a/public/pages/createDetector/components/DataFilters/QueryDataFilter.tsx b/public/pages/createDetector/components/DataFilters/QueryDataFilter.tsx index c49c42ec..219ad4ed 100644 --- a/public/pages/createDetector/components/DataFilters/QueryDataFilter.tsx +++ b/public/pages/createDetector/components/DataFilters/QueryDataFilter.tsx @@ -24,7 +24,6 @@ import { import { Field, FieldProps } from 'formik'; import { isInvalid, getError } from '../../../../utils/utils'; import 'brace/mode/json'; -import 'brace/ext/language_tools'; import 'brace/theme/github'; import { validFilterQuery } from './utils/helpers';