import React from 'react';
import {routerShape} from 'react-router';

import NodeBreadcrumbs from '../../components/NodeBreadcrumbs';

import MesosStateStore from '../../../../../../src/js/stores/MesosStateStore';
import Node from '../../../../../../src/js/structs/Node';
import Page from '../../../../../../src/js/components/Page';
import TasksContainer from '../../../../../services/src/js/containers/tasks/TasksContainer';

class NodeDetailTaskTab extends React.Component {
  render() {

    let {nodeID} = this.props.params;
    let tasks = MesosStateStore.getTasksFromNodeID(nodeID);

    return (
      <Page>
        <Page.Header breadcrumbs={<NodeBreadcrumbs nodeID={nodeID} />} />
        <TasksContainer
          params={this.props.params}
          tasks={tasks} />
      </Page>
    );
  }
}

NodeDetailTaskTab.contextTypes = {
  router: routerShape
};

NodeDetailTaskTab.propTypes = {
  node: React.PropTypes.instanceOf(Node).isRequired
};

module.exports = NodeDetailTaskTab;

@@ -211,66 +211,8 @@
 e';%0A
-import Node from '../../../../../../src/js/structs/Node';%0A
 impo
@@ -806,96 +806,8 @@
 %7D;%0A%0A
-NodeDetailTaskTab.propTypes = %7B%0A  node: React.PropTypes.instanceOf(Node).isRequired%0A%7D;%0A%0A
 modu

Remove unnecessary node prop from NodeDetailTaskTab