mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 10:52:41 +03:00
10 lines
181 B
JavaScript
10 lines
181 B
JavaScript
|
const cancelledUploads = {};
|
||
|
|
||
|
export const checkCancelled = (val) => {
|
||
|
return cancelledUploads[val];
|
||
|
};
|
||
|
|
||
|
export const setCancelled = (val) => {
|
||
|
cancelledUploads[val] = true;
|
||
|
};
|