]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13657 Remove unused libraries
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Wed, 16 Dec 2020 16:14:53 +0000 (17:14 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 10 Feb 2021 20:07:16 +0000 (20:07 +0000)
server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts

index 86d322c6983c1a04b33cd66987ae3801eea3fdeb..a26122e28e808d76f924879d4eab0de17477ae47 100644 (file)
@@ -18,8 +18,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 import { FormattedMessage } from 'react-intl';
-import * as ReactRedux from 'react-redux';
-import * as ReactRouter from 'react-router';
 import ActionsDropdown, {
   ActionsDropdownItem
 } from 'sonar-ui-common/components/controls/ActionsDropdown';
@@ -109,8 +107,6 @@ import Suggestions from '../embed-docs-modal/Suggestions';
 const exposeLibraries = () => {
   const global = window as any;
 
-  global.ReactRedux = ReactRedux;
-  global.ReactRouter = ReactRouter;
   global.SonarHelpers = {
     getBranchLikeQuery,
     isBranch,