2020-08-24 15:18:53 -07:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import IconWithBadge from 'soapbox/components/icon_with_badge';
|
|
|
|
|
|
|
|
const mapStateToProps = state => ({
|
2020-08-24 16:00:09 -07:00
|
|
|
count: state.getIn(['admin', 'open_report_count']),
|
2020-08-24 15:18:53 -07:00
|
|
|
id: 'gavel',
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(IconWithBadge);
|