The code powering m.abunchtell.com https://m.abunchtell.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
460 B

  1. import { connect } from 'react-redux';
  2. import { makeGetNotification } from '../../../selectors';
  3. import Notification from '../components/notification';
  4. const makeMapStateToProps = () => {
  5. const getNotification = makeGetNotification();
  6. const mapStateToProps = (state, props) => ({
  7. notification: getNotification(state, props.notification, props.accountId)
  8. });
  9. return mapStateToProps;
  10. };
  11. export default connect(makeMapStateToProps)(Notification);