From 944860d025b5c02f41fa9ade4a2e05d8a0ef5a97 Mon Sep 17 00:00:00 2001 From: stephenLYZ <750188453@qq.com> Date: Mon, 29 Nov 2021 22:12:14 +0800 Subject: [PATCH] lint --- .../AnnotationLayerControl/AnnotationLayer.jsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx b/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx index d7d65133e9680..e12ca06cc943c 100644 --- a/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx +++ b/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx @@ -694,14 +694,8 @@ export default class AnnotationLayer extends React.PureComponent { } render() { - const { - isNew, - name, - annotationType, - sourceType, - show, - showLabel, - } = this.state; + const { isNew, name, annotationType, sourceType, show, showLabel } = + this.state; const isValid = this.isValidForm(); const metadata = getChartMetadataRegistry().get(this.props.vizType); const supportedAnnotationTypes = metadata