Fix notification badge

This commit is contained in:
Thibaut Girka authored and ThibG committed 2019-06-13 22:15:31 +02:00
1 parent 0ccc06b87f
commit 0f41be5581
1 file changed
+2 -2
@@ -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);