Web: Files: Deleted useless code.
This commit is contained in:
parent
c5b409a571
commit
783fbb2774
@ -45,7 +45,7 @@ const FilesListBody = ({
|
||||
const loadMoreItems = useCallback(
|
||||
(startIndex) => {
|
||||
if (isNextPageLoading) return;
|
||||
console.log("startIndex", startIndex);
|
||||
|
||||
const options = {
|
||||
startIndex: startIndex || 0,
|
||||
};
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user