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

17 lines
390 B
JavaScript
Raw Normal View History

2018-03-26 23:32:43 +02:00
import { connect } from 'react-redux';
import { selectNavLinks } from 'redux/selectors/app';
2018-03-26 23:32:43 +02:00
import { selectNotifications } from 'redux/selectors/subscriptions';
import SideBar from './view';
const select = state => ({
navLinks: selectNavLinks(state),
notifications: selectNotifications(state),
});
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);