blob: da553cd9f0624b432b440d5e22d8b7f6888905dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
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);
|