Better uploading message

main
Antonio De Lucreziis 2 years ago
parent 81e2263a09
commit 50e1fd4253

@ -27,7 +27,7 @@ export const Bucket = () => {
formData.append('file', fileInputRef.current.files[0]) formData.append('file', fileInputRef.current.files[0])
showToast(<>Sto caricando il file...</>) showToast(<ToastMessage icon="cloud_upload">Caricando il file...</ToastMessage>)
const res = await fetch(`/api/buckets/${bucket}`, { const res = await fetch(`/api/buckets/${bucket}`, {
method: 'POST', method: 'POST',

Loading…
Cancel
Save