From 771953e8b5e91a7cbcfdd1a302d5514ea27b113e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sun, 7 Oct 2018 16:49:05 -0400 Subject: [PATCH] remove versions from dashboard which isn't necessary --- embark-ui/src/containers/HomeContainer.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/embark-ui/src/containers/HomeContainer.js b/embark-ui/src/containers/HomeContainer.js index e5e635e6..9e16a303 100644 --- a/embark-ui/src/containers/HomeContainer.js +++ b/embark-ui/src/containers/HomeContainer.js @@ -6,9 +6,8 @@ import {Page} from "tabler-react"; import {commands as commandsAction, listenToProcessLogs, processLogs as processLogsAction} from "../actions"; import DataWrapper from "../components/DataWrapper"; import Processes from '../components/Processes'; -import Versions from '../components/Versions'; import Console from '../components/Console'; -import {getProcesses, getCommands, getVersions, getProcessLogs} from "../reducers/selectors"; +import {getProcesses, getCommands, getProcessLogs} from "../reducers/selectors"; import deepEqual from 'deep-equal'; class HomeContainer extends Component { @@ -38,9 +37,6 @@ class HomeContainer extends Component { 0 } {...this.props} render={({processes}) => ( )} /> - 0 } {...this.props} render={({versions}) => ( - - )} /> 0 } {...this.props} render={({processes, postCommand, processLogs}) => ( @@ -52,7 +48,6 @@ class HomeContainer extends Component { HomeContainer.propTypes = { processes: PropTypes.arrayOf(PropTypes.object), - versions: PropTypes.arrayOf(PropTypes.object), postCommand: PropTypes.func, commands: PropTypes.arrayOf(PropTypes.object), error: PropTypes.string, @@ -61,7 +56,6 @@ HomeContainer.propTypes = { function mapStateToProps(state) { return { - versions: getVersions(state), processes: getProcesses(state), commands: getCommands(state), error: state.errorMessage,