refactor
This commit is contained in:
parent
c704e9ed4b
commit
62f9e8f1f8
|
@ -119,9 +119,9 @@ class UIService {
|
|||
const cancelTimedOutRequest = () =>
|
||||
cancel.exec(CustomError.REQUEST_TIMEOUT);
|
||||
|
||||
const cancelCancelledUploadRequest = () => {
|
||||
const cancelCancelledUploadRequest = () =>
|
||||
cancel.exec(CustomError.UPLOAD_CANCELLED);
|
||||
};
|
||||
|
||||
let timeout = null;
|
||||
const resetTimeout = () => {
|
||||
if (timeout) {
|
||||
|
|
Loading…
Reference in a new issue