The code powering m.abunchtell.com https://m.abunchtell.com
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

notification_container.jsx 460 B

123456789101112131415
  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);