diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js index 347dd8f2e5..883e5caaea 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -21,6 +21,7 @@ const settings = { methods: { uploadAvatar ({target}) { const file = target.files[0] + // eslint-disable-next-line no-undef const reader = new FileReader() reader.onload = ({target}) => { const img = target.result