bigbuffet-rw/app/soapbox/features/ui/components/notifications_counter_icon.js
2020-05-28 17:56:55 -05:00

9 lines
266 B
JavaScript

import { connect } from 'react-redux';
import IconWithBadge from 'soapbox/components/icon_with_badge';
const mapStateToProps = state => ({
count: state.getIn(['notifications', 'unread']),
id: 'bell',
});
export default connect(mapStateToProps)(IconWithBadge);