From 8cec798da7670cf3415088123e639cb2ab773b28 Mon Sep 17 00:00:00 2001 From: Vladislav Makhov Date: Wed, 30 Dec 2020 16:17:09 +0300 Subject: [PATCH] Remove unused code --- .../Client/src/components/pages/DocEditor/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/products/ASC.Files/Client/src/components/pages/DocEditor/index.js b/products/ASC.Files/Client/src/components/pages/DocEditor/index.js index 5372997db8..42e249b6fd 100644 --- a/products/ASC.Files/Client/src/components/pages/DocEditor/index.js +++ b/products/ASC.Files/Client/src/components/pages/DocEditor/index.js @@ -131,13 +131,6 @@ class PureEditor extends React.Component { const newConfig = Object.assign(config, events); - const { isDesktop } = this.state; - - // if (isDesktop && newConfig.editorConfig["encryptionKeys"] !== undefined) { - // newConfig.editorConfig.encryptionKeys.cryptoEngineId = - // "{FFF0E1EB-13DB-4678-B67D-FF0A41DBBCEF}"; - // } - if (!window.DocsAPI) throw new Error("DocsAPI is not defined"); hideLoader();