From 3094c50ff9e7abc7fc8b7fa4d21d606170843178 Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 8 Feb 2019 22:37:45 -0500 Subject: [PATCH] Fix lint errors --- src/components/image_cropper/image_cropper.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/image_cropper/image_cropper.js b/src/components/image_cropper/image_cropper.js index da94427a..990c0370 100644 --- a/src/components/image_cropper/image_cropper.js +++ b/src/components/image_cropper/image_cropper.js @@ -69,8 +69,12 @@ const ImageCropper = { this.avatarUploadError = null this.submitHandler(this.cropper, this.filename) .then(() => this.destroy()) - .catch(err => this.submitError = err) - .finally(() => this.submitting = false) + .catch((err) => { + this.submitError = err + }) + .finally(() => { + this.submitting = false + }) }, pickImage () { this.$refs.input.click()