mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-22 21:45:56 +03:00
added uploading alert for links
This commit is contained in:
parent
b9774b4994
commit
70b95110e7
@ -50,6 +50,7 @@ const getCookie = (name) => {
|
||||
};
|
||||
|
||||
export const uploadLink = async ({ url, slate }) => {
|
||||
Events.dispatchMessage({ message: "Uploading link...", status: "INFO" });
|
||||
let createResponse = await Actions.createLink({ url, slate });
|
||||
if (Events.hasError(createResponse)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user