lbry-desktop/src/ui/component/sideBar/index.js

17 lines
437 B
JavaScript
Raw Normal View History

2018-03-26 23:32:43 +02:00
import { connect } from 'react-redux';
2018-10-19 22:38:07 +02:00
import { selectUnreadAmount } from 'redux/selectors/subscriptions';
2019-04-19 23:15:41 +02:00
import { selectShouldShowInviteGuide } from 'redux/selectors/app';
2018-03-26 23:32:43 +02:00
import SideBar from './view';
const select = state => ({
2018-10-19 22:38:07 +02:00
unreadSubscriptionTotal: selectUnreadAmount(state),
2019-04-19 23:15:41 +02:00
shouldShowInviteGuide: selectShouldShowInviteGuide(state),
2018-03-26 23:32:43 +02:00
});
2018-06-25 08:07:45 +02:00
const perform = () => ({});
2018-03-26 23:32:43 +02:00
2018-06-25 08:07:45 +02:00
export default connect(
select,
perform
)(SideBar);