Fix notification badge
parent
4d91fddc2e
commit
5137951499
|
@ -1,9 +1,9 @@
|
|||
import { connect } from 'react-redux';
|
||||
import IconWithBadge from 'flavours/glitch/components/icon';
|
||||
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,
|
||||
icon: 'bell',
|
||||
id: 'bell',
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(IconWithBadge);
|
||||
|
|
Loading…
Reference in New Issue