12 lines
321 B
JavaScript
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);
|