Visual indicator for when posting is happening, as well as disabling the button to prevent double-posts.
This commit is contained in:
parent
3ab9b477f8
commit
d3169b057c
3 changed files with 10 additions and 1 deletions
|
@ -17,6 +17,11 @@ const postStatus = ({ store, status, media = [], inReplyToStatusId = undefined }
|
|||
}
|
||||
return data
|
||||
})
|
||||
.catch((err) => {
|
||||
return {
|
||||
error: err.message
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const uploadMedia = ({ store, formData }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue