diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/scaling_form.test.tsx.snap b/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/scaling_form.test.tsx.snap deleted file mode 100644 index 0cabacca46117..0000000000000 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/scaling_form.test.tsx.snap +++ /dev/null @@ -1,301 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`should disable clusters option when clustering is not supported 1`] = ` - - - - - - - - - - - - - - - - - - Using .mvt tiles allows for faster display of large datasets. Not all layer-functionality is supported. - - } - delay="regular" - position="left" - > - - Use vector tiles - - } - onChange={[Function]} - /> - - - - - - - -`; - -exports[`should render 1`] = ` - - - - - - - - - - - - - - - - Using .mvt tiles allows for faster display of large datasets. Not all layer-functionality is supported. - - } - delay="regular" - position="left" - > - - Use vector tiles - - } - onChange={[Function]} - /> - - - - - - - -`; - -exports[`should render top hits form when scaling type is TOP_HITS 1`] = ` - - - - - - - - - - - - - - - - Using .mvt tiles allows for faster display of large datasets. Not all layer-functionality is supported. - - } - delay="regular" - position="left" - > - - Use vector tiles - - } - onChange={[Function]} - /> - - - - - - - - - - - -`; diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/scaling_form.tsx b/x-pack/plugins/maps/public/classes/sources/es_search_source/scaling_form.tsx index dfdf1534bd654..00fe9cb117df2 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/scaling_form.tsx +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/scaling_form.tsx @@ -191,11 +191,10 @@ export class ScalingForm extends Component { const labelText = i18n.translate('xpack.maps.source.esSearch.useMVTVectorTiles', { defaultMessage: 'Use vector tiles', }); - const label = <>{labelText}>; const mvtRadio = ( this._onScalingTypeChange(SCALING_TYPES.MVT)} disabled={!this.props.supportsMvt} @@ -207,8 +206,7 @@ export class ScalingForm extends Component { {i18n.translate('xpack.maps.source.esSearch.mvtDescription', { - defaultMessage: - 'Using .mvt tiles allows for faster display of large datasets. Not all layer-functionality is supported.', + defaultMessage: 'Use vector tiles for faster display of large datasets.', })} > );