b12fe2192b
- Rename components per filename changes. - Fix missing React key. - Add new strings.
11 lines
377 B
JavaScript
11 lines
377 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectUnseenNotificationCount } from 'redux/selectors/notifications';
|
|
import { selectUser } from 'redux/selectors/user';
|
|
import NotificationButton from './view';
|
|
|
|
const select = (state) => ({
|
|
unseenCount: selectUnseenNotificationCount(state),
|
|
user: selectUser(state),
|
|
});
|
|
|
|
export default connect(select)(NotificationButton);
|