10ff8b1205
Add missing controls for new notification type
9 lines
267 B
JavaScript
9 lines
267 B
JavaScript
import { connect } from 'react-redux';
|
|
import IconWithBadge from 'mastodon/components/icon_with_badge';
|
|
|
|
const mapStateToProps = state => ({
|
|
count: state.getIn(['notifications', 'unread']),
|
|
id: 'bell',
|
|
});
|
|
|
|
export default connect(mapStateToProps)(IconWithBadge);
|