Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
11 lines
272 B
JavaScript
11 lines
272 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);
|