Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
import { connect } from 'react-redux';
// Selectors //
import { createStructuredSelector } from 'reselect';
import { makeSelectUnreadCount } from 'data/chat/selectors';
...
const mapStateToProps = createStructuredSelector({
unreadCount: makeSelectUnreadCount(),
});
export default connect(mapStateToProps)(ActionsButtons);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.