Files
Eventment/app/components/AppHeader/UserProfileButton/UserProfileButton.container.js
2019-08-06 01:36:08 -04:00

12 lines
321 B
JavaScript

import { connect } from 'react-redux';
import { getProfileAvatarUrl } from '../../../selectors/profile.js';
import UserProfileButton from './UserProfileButton.js';
const matchStateToProps = (state) => ({
avatarUrl: getProfileAvatarUrl(state),
});
export default connect(matchStateToProps, null)(UserProfileButton);