remove reload from cancelling logic
This commit is contained in:
parent
5e7473e966
commit
a0feb50bff
|
@ -19,7 +19,6 @@ import { CustomError } from 'utils/error';
|
|||
import { Collection } from 'types/collection';
|
||||
import { SetLoading, SetFiles } from 'types/gallery';
|
||||
import { ElectronFile, FileWithCollection } from 'types/upload';
|
||||
import Router from 'next/router';
|
||||
import { isCanvasBlocked } from 'utils/upload/isCanvasBlocked';
|
||||
import { downloadApp, waitAndRun } from 'utils/common';
|
||||
import watchFolderService from 'services/watchFolder/watchFolderService';
|
||||
|
@ -548,7 +547,6 @@ export default function Uploader(props: Props) {
|
|||
ImportService.cancelRemainingUploads();
|
||||
}
|
||||
props.setUploadInProgress(false);
|
||||
Router.reload();
|
||||
};
|
||||
|
||||
const handleUpload = (type) => () => {
|
||||
|
|
Loading…
Reference in a new issue