slate/common/store.js
2020-10-01 21:24:10 -07:00

10 lines
181 B
JavaScript

const cancelledUploads = {};
export const checkCancelled = (val) => {
return cancelledUploads[val];
};
export const setCancelled = (val) => {
cancelledUploads[val] = true;
};