Skip to content
Snippets Groups Projects
Commit 6887e88c authored by Chris Beer's avatar Chris Beer
Browse files

Clean up unused WindowViewer connections

parent eb278f01
Branches
Tags
No related merge requests found
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
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment