The code powering m.abunchtell.com https://m.abunchtell.com
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

16 Zeilen
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);