]>
cat aescling's git repositories - mastodon.git/blob - 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';
5 const makeMapStateToProps
= () => {
6 const getNotification
= makeGetNotification();
8 const mapStateToProps
= (state
, props
) => ({
9 notification: getNotification(state
, props
.notification
, props
.accountId
),
12 return mapStateToProps
;
15 export default connect(makeMapStateToProps
)(Notification
);
This page took 0.075813 seconds and 4 git commands to generate.