Web: People: Profile: Refactoring

This commit is contained in:
TatianaLopaeva 2020-12-16 12:40:22 +03:00
parent ef50248de5
commit 3fd5cda0cf

View File

@ -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),
};
};