12 lines
318 B
JavaScript
12 lines
318 B
JavaScript
import { connect } from 'react-redux';
|
|
|
|
import { getProfileAvatarUrl } from '../selectors/profile.js';
|
|
|
|
import HeaderContentRight from './HeaderContentRight.js';
|
|
|
|
const matchStateToProps = (state) => ({
|
|
avatarUrl: getProfileAvatarUrl(state),
|
|
});
|
|
|
|
export default connect(matchStateToProps, null)(HeaderContentRight);
|