diff --git a/superset-frontend/src/views/CRUD/annotationlayers/AnnotationLayerModal.tsx b/superset-frontend/src/views/CRUD/annotationlayers/AnnotationLayerModal.tsx index 4196ecf30fe..f5d19997d6a 100644 --- a/superset-frontend/src/views/CRUD/annotationlayers/AnnotationLayerModal.tsx +++ b/superset-frontend/src/views/CRUD/annotationlayers/AnnotationLayerModal.tsx @@ -122,10 +122,6 @@ const AnnotationLayerModal: FunctionComponent = ({ delete currentLayer.id; delete currentLayer.created_by; updateResource(update_id, currentLayer).then(() => { - if (onLayerAdd) { - onLayerAdd(); - } - hide(); }); }