1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00

chore: run prettier

This commit is contained in:
Matthew Penner 2022-12-12 14:09:22 -07:00
parent e64e28839b
commit c44842e517
No known key found for this signature in database

View File

@ -77,7 +77,7 @@ export default ({ className }: WithClassname) => {
});
return () =>
getFileUploadUrl(uuid).then((url) =>
getFileUploadUrl(uuid).then(url =>
axios
.post(
url,
@ -86,10 +86,10 @@ export default ({ className }: WithClassname) => {
signal: controller.signal,
headers: { 'Content-Type': 'multipart/form-data' },
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))),
);
});