mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
10 lines
267 B
JavaScript
10 lines
267 B
JavaScript
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);
|