blob: 6b52ef9b4621aa259f67008b852cc343b4a522df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import { connect } from 'react-redux';
import IconWithBadge from 'flavours/glitch/components/icon_with_badge';
const mapStateToProps = state => ({
count: state.getIn(['local_settings', 'notifications', 'tab_badge']) ? state.getIn(['notifications', 'unread']) : 0,
id: 'bell',
});
export default connect(mapStateToProps)(IconWithBadge);
|