import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import Sticky from 'react-stickynode' import Layout from './layout' import ProfileHeader from '../components/profile_header' export default class ProfileLayout extends ImmutablePureComponent { static propTypes = { children: PropTypes.node.isRequired, account: ImmutablePropTypes.map, layout: PropTypes.object, title: PropTypes.string, showBackBtn: PropTypes.bool, } render() { const { account, children, layout, } = this.props return (
{children}
{layout}
) } }