Web: People: Profile: Refactoring
This commit is contained in:
parent
ef50248de5
commit
3fd5cda0cf
@ -21,7 +21,7 @@ import styled from "styled-components";
|
||||
import { withRouter } from "react-router";
|
||||
import { withTranslation } from "react-i18next";
|
||||
|
||||
const { isAdmin, isMe, getIsTabletView } = store.auth.selectors;
|
||||
const { isAdmin, isMe } = store.auth.selectors;
|
||||
const { size } = utils.device;
|
||||
const ProfileWrapper = styled.div`
|
||||
display: flex;
|
||||
@ -188,7 +188,6 @@ const mapStateToProps = (state) => {
|
||||
profile: state.profile.targetUser,
|
||||
isAdmin: isAdmin(state),
|
||||
viewer: state.auth.user,
|
||||
isTabletView: getIsTabletView(state),
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user