From 081ab8ff3e8a515f3ac9dff3c20826ee85542570 Mon Sep 17 00:00:00 2001 From: Tatiana Lopaeva Date: Thu, 21 Oct 2021 13:56:36 +0300 Subject: [PATCH] Web: Files: Deleted useless code. --- .../Client/src/pages/VersionHistory/Section/Body/VersionRow.js | 1 - .../Client/src/pages/VersionHistory/Section/Body/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/VersionRow.js b/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/VersionRow.js index a16ad768d9..8e9cb78905 100644 --- a/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/VersionRow.js +++ b/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/VersionRow.js @@ -39,7 +39,6 @@ const VersionRow = (props) => { const [showEditPanel, setShowEditPanel] = useState(false); const [commentValue, setCommentValue] = useState(info.comment); const [isSavingComment, setIsSavingComment] = useState(false); - const [isRestoring, setIsRestoring] = useState(false); const canEdit = info.access === 1 || info.access === 0; diff --git a/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/index.js b/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/index.js index 1a7aa15d15..75556aadff 100644 --- a/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/index.js +++ b/products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/index.js @@ -102,7 +102,6 @@ class SectionBodyContent extends React.Component { const { versions, isLoading } = this.props; const renderList = ({ height, width }) => { - console.log("this.state", this.state); return (