]> cat aescling's git repositories - mastodon.git/blob - app/javascript/mastodon/features/notifications/containers/notification_container.js
Improve eslint rules (#3147)
[mastodon.git] / app / javascript / mastodon / features / notifications / containers / notification_container.js
1 import { connect } from 'react-redux';
2 import { makeGetNotification } from '../../../selectors';
3 import Notification from '../components/notification';
4
5 const makeMapStateToProps = () => {
6 const getNotification = makeGetNotification();
7
8 const mapStateToProps = (state, props) => ({
9 notification: getNotification(state, props.notification, props.accountId),
10 });
11
12 return mapStateToProps;
13 };
14
15 export default connect(makeMapStateToProps)(Notification);
This page took 0.075813 seconds and 4 git commands to generate.