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

15 lines
309 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';
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),
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);