do not debounce chart (#98451)

This commit is contained in:
Joe Reuter 2021-04-27 15:50:52 +02:00 committed by GitHub
parent 88288c8c51
commit d0b836b172
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,6 @@ import {
import { DragDrop, DragContext, DragDropIdentifier } from '../../../drag_drop'; import { DragDrop, DragContext, DragDropIdentifier } from '../../../drag_drop';
import { Suggestion, switchToSuggestion } from '../suggestion_helpers'; import { Suggestion, switchToSuggestion } from '../suggestion_helpers';
import { buildExpression } from '../expression_helpers'; import { buildExpression } from '../expression_helpers';
import { debouncedComponent } from '../../../debounced_component';
import { trackUiEvent } from '../../../lens_ui_telemetry'; import { trackUiEvent } from '../../../lens_ui_telemetry';
import { import {
UiActionsStart, UiActionsStart,
@ -368,7 +367,7 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({
); );
}); });
export const InnerVisualizationWrapper = ({ export const VisualizationWrapper = ({
expression, expression,
framePublicAPI, framePublicAPI,
timefilter, timefilter,
@ -619,5 +618,3 @@ export const InnerVisualizationWrapper = ({
</div> </div>
); );
}; };
export const VisualizationWrapper = debouncedComponent(InnerVisualizationWrapper);