Better uploading message
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user