zahmis 5 anni fa
parent
commit
bda52b1d3c
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/client/js/components/Navbar/ThreeStrandedButton.jsx

+ 0 - 6
src/client/js/components/Navbar/ThreeStrandedButton.jsx

@@ -1,12 +1,9 @@
 import React from 'react';
 import PropTypes from 'prop-types';
 import { withTranslation } from 'react-i18next';
-// import NavigationContainer from '../../services/NavigationContainer';
-// import { withUnstatedContainers } from '../UnstatedUtils';
 
 const ThreeStrandedButton = (props) => {
   const { t } = props;
-  // const { editorMode } = navigationContainer.state;
 
   function threeStrandedButtonClickedHandler(viewType) {
     if (props.onThreeStrandedButtonClicked != null) {
@@ -45,11 +42,8 @@ const ThreeStrandedButton = (props) => {
 
 };
 
-// const ThreeStrandedButtonWrapper = withUnstatedContainers(ThreeStrandedButton, [NavigationContainer]);
-
 ThreeStrandedButton.propTypes = {
   t: PropTypes.func.isRequired, //  i18next
-  // navigationContainer: PropTypes.instanceOf(NavigationContainer).isRequired,
   onThreeStrandedButtonClicked: PropTypes.func,
 };