lbry-desktop/src/ui/component/sideBar/index.js
2019-03-28 12:53:13 -04:00

14 lines
309 B
JavaScript

import { connect } from 'react-redux';
import { selectUnreadAmount } from 'redux/selectors/subscriptions';
import SideBar from './view';
const select = state => ({
unreadSubscriptionTotal: selectUnreadAmount(state),
});
const perform = () => ({});
export default connect(
select,
perform
)(SideBar);