2019-05-22 23:35:22 +00:00
|
|
|
import { connect } from 'react-redux';
|
2023-05-23 15:15:17 +00:00
|
|
|
|
2023-05-09 01:11:56 +00:00
|
|
|
import { IconWithBadge } from 'mastodon/components/icon_with_badge';
|
2019-05-22 23:35:22 +00:00
|
|
|
|
|
|
|
const mapStateToProps = state => ({
|
|
|
|
count: state.getIn(['notifications', 'unread']),
|
2019-05-26 00:55:37 +00:00
|
|
|
id: 'bell',
|
2019-05-22 23:35:22 +00:00
|
|
|
});
|
|
|
|
|
2019-05-26 00:55:37 +00:00
|
|
|
export default connect(mapStateToProps)(IconWithBadge);
|