fix(annotation layers): remove redirect on layer edit (#12063)

This commit is contained in:
Moriah Kreeger 2020-12-15 12:21:10 -08:00 committed by GitHub
parent 862c251924
commit 52e970a520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,10 +122,6 @@ const AnnotationLayerModal: FunctionComponent<AnnotationLayerModalProps> = ({
delete currentLayer.id;
delete currentLayer.created_by;
updateResource(update_id, currentLayer).then(() => {
if (onLayerAdd) {
onLayerAdd();
}
hide();
});
}