added uploading alert for links

This commit is contained in:
Martina 2021-08-23 19:35:12 -07:00
parent b9774b4994
commit 70b95110e7

View File

@ -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;