forked from AkkomaGang/akkoma-fe
Fix linting.
This commit is contained in:
parent
dede7f7f2f
commit
ce896d393b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue