bigbuffet-rw/app/soapbox/features/ui/components/notifications_counter_icon.js

10 lines
266 B
JavaScript
Raw Normal View History

2020-03-27 13:59:38 -07:00
import { connect } from 'react-redux';
2020-05-28 15:52:07 -07:00
import IconWithBadge from 'soapbox/components/icon_with_badge';
2020-03-27 13:59:38 -07:00
const mapStateToProps = state => ({
count: state.getIn(['notifications', 'unread']),
id: 'bell',
});
export default connect(mapStateToProps)(IconWithBadge);