| Current File : /home/digitaw/www/wp-content/plugins/event-tickets/src/modules/blocks/rsvp/dashboard/container.js |
/**
* External dependencies
*/
import { connect } from 'react-redux';
import { compose } from 'redux';
/**
* Internal dependencies
*/
import RSVPDashboard from './template';
import { selectors } from '../../../data/blocks/rsvp';
import { withStore } from '@moderntribe/common/hoc';
const mapStateToProps = ( state ) => ( {
isSettingsOpen: selectors.getRSVPSettingsOpen( state ),
} );
export default compose( withStore(), connect( mapStateToProps ) )( RSVPDashboard );