diff --git a/src/containers/WindowViewer.js b/src/containers/WindowViewer.js index d61c69c21f37a6179a505e954e7607aef4fb909a..f724ad9232922003debddaf418d309a737316a7c 100644 --- a/src/containers/WindowViewer.js +++ b/src/containers/WindowViewer.js @@ -1,30 +1,9 @@ import { compose } from 'redux'; import { connect } from 'react-redux'; import { withPlugins } from '../extend/withPlugins'; -import * as actions from '../state/actions'; import { WindowViewer } from '../components/WindowViewer'; -/** - * mapStateToProps - to hook up connect - * @memberof WindowViewer - * @private - */ -const mapStateToProps = (state, { windowId }) => ({}); - -/** - * mapDispatchToProps - used to hook up connect to action creators - * @memberof WindowViewer - * @private - */ -const mapDispatchToProps = { - fetchAnnotation: actions.fetchAnnotation, - fetchInfoResponse: actions.fetchInfoResponse, - receiveAnnotation: actions.receiveAnnotation, -}; - - const enhance = compose( - connect(mapStateToProps, mapDispatchToProps), withPlugins('WindowViewer'), // further HOC go here );