chore: run prettier
This commit is contained in:
parent
e64e28839b
commit
c44842e517
1 changed files with 4 additions and 4 deletions
|
@ -77,7 +77,7 @@ export default ({ className }: WithClassname) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
return () =>
|
return () =>
|
||||||
getFileUploadUrl(uuid).then((url) =>
|
getFileUploadUrl(uuid).then(url =>
|
||||||
axios
|
axios
|
||||||
.post(
|
.post(
|
||||||
url,
|
url,
|
||||||
|
@ -86,10 +86,10 @@ export default ({ className }: WithClassname) => {
|
||||||
signal: controller.signal,
|
signal: controller.signal,
|
||||||
headers: { 'Content-Type': 'multipart/form-data' },
|
headers: { 'Content-Type': 'multipart/form-data' },
|
||||||
params: { directory },
|
params: { directory },
|
||||||
onUploadProgress: (data) => onUploadProgress(data, file.name),
|
onUploadProgress: data => onUploadProgress(data, file.name),
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
.then(() => timeouts.value.push(setTimeout(() => removeFileUpload(file.name), 500)))
|
.then(() => timeouts.value.push(setTimeout(() => removeFileUpload(file.name), 500))),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue