slate/common/store.js

10 lines
181 B
JavaScript
Raw Normal View History

2020-10-02 07:24:10 +03:00
const cancelledUploads = {};
export const checkCancelled = (val) => {
return cancelledUploads[val];
};
export const setCancelled = (val) => {
cancelledUploads[val] = true;
};