Visual indicator for when posting is happening, as well as disabling the button to prevent double-posts.

This commit is contained in:
Shpuld Shpuldson 2017-08-21 15:35:14 +03:00
parent 3ab9b477f8
commit d3169b057c
3 changed files with 10 additions and 1 deletions

View file

@ -17,6 +17,11 @@ const postStatus = ({ store, status, media = [], inReplyToStatusId = undefined }
}
return data
})
.catch((err) => {
return {
error: err.message
}
})
}
const uploadMedia = ({ store, formData }) => {