|
|
|
@ -27,7 +27,7 @@ export const Bucket = () => {
|
|
|
|
|
|
|
|
|
|
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}`, {
|
|
|
|
|
method: 'POST',
|
|
|
|
|