diff --git a/src/pages/MyPage.js b/src/pages/MyPage.js index 18dc4ef..fc880a4 100644 --- a/src/pages/MyPage.js +++ b/src/pages/MyPage.js @@ -1,28 +1,10 @@ import React from "react" -import { Link } from "react-router-dom" import Layout from "../components/Layout" -import classNames from "classnames" -import { withStyles } from "@material-ui/core/styles" import UserProfile from "./MyPage/UserProfile" import { connect } from "react-redux" import { modalRequest } from "../modal/actions" import { SIGN_IN_MODAL } from "../modal/constants" -const styles = { - row: { - display: "flex", - justifyContent: "center" - }, - avatar: { - margin: 10 - }, - bigAvatar: { - width: 60, - height: 60 - } -} - - class MyPage extends React.Component { componentDidMount () { const { user } = this.props @@ -48,4 +30,4 @@ const mapStateToProps = state => ({ user: state.client.user }) -export default withStyles(styles)(connect(mapStateToProps, {modalRequest})(MyPage)) +export default connect(mapStateToProps, {modalRequest})(MyPage)