Remove dead code: ConnectedToolbarSection and setToolActive

This commit is contained in:
dannyrb committed 2019-06-16 14:23:03 -04:00
1 parent 3ed602a40a
commit fc6f7446d0
5 files changed
+1 -53

No files matched your search

@@ -2,8 +2,6 @@ import { connect } from 'react-redux';
import { ToolbarSection } from 'react-viewerbase';
import OHIF from 'ohif-core';
const { setToolActive } = OHIF.redux.actions;
const mapStateToProps = state => {
const activeButton = state.tools.buttons.find(tool => tool.active === true);
@@ -23,9 +21,7 @@ const mapStateToProps = state => {
const mapDispatchToProps = dispatch => {
return {
setToolActive: tool => {
//dispatch(setToolActive(tool.command))
}
setToolActive: tool => {}
};
};