Web: Files: Deleted useless code.

This commit is contained in:
Tatiana Lopaeva 2021-07-07 11:45:11 +03:00
parent c5b409a571
commit 783fbb2774
2 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,7 @@ const FilesListBody = ({
const loadMoreItems = useCallback(
(startIndex) => {
if (isNextPageLoading) return;
console.log("startIndex", startIndex);
const options = {
startIndex: startIndex || 0,
};

View File

@ -69,8 +69,6 @@ class SelectFileDialogBody extends React.Component {
window.addEventListener("resize", this.throttledResize);
}
componentWillUnmount() {
console.log("Unmount");
this.throttledResize && this.throttledResize.cancel();
window.removeEventListener("resize", this.throttledResize);
}
@ -269,7 +267,7 @@ const SelectFileDialogWrapper = inject(({ selectedFilesStore }) => {
setFolderId,
setFile,
} = selectedFilesStore;
//console.log("folderId", folderId, "file", fileInfo);
return {
storeFolderId,
fileInfo,