- Linting... Prettier...
This commit is contained in:
@@ -5,8 +5,11 @@ import { getProfileAvatarUrl } from '../../selectors/profile.js';
|
||||
import HeaderContentRight from './HeaderContentRight.js';
|
||||
|
||||
const matchStateToProps = (state, ownProps) => ({
|
||||
avatarUrl: getProfileAvatarUrl(state),
|
||||
hideUserProfileButton: ownProps.navigation.state.routeName === 'Profile',
|
||||
avatarUrl: getProfileAvatarUrl(state),
|
||||
hideUserProfileButton: ownProps.navigation.state.routeName === 'Profile',
|
||||
});
|
||||
|
||||
export default connect(matchStateToProps, null)(HeaderContentRight);
|
||||
export default connect(
|
||||
matchStateToProps,
|
||||
null,
|
||||
)(HeaderContentRight);
|
||||
|
||||
Reference in New Issue
Block a user