15 lines
334 B
JavaScript
15 lines
334 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);
|