You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
267 B

  1. import { connect } from 'react-redux';
  2. import IconWithBadge from 'mastodon/components/icon_with_badge';
  3. const mapStateToProps = state => ({
  4. count: state.getIn(['notifications', 'unread']),
  5. id: 'bell',
  6. });
  7. export default connect(mapStateToProps)(IconWithBadge);