Updates for missing vars in components
This commit is contained in:
@@ -2,7 +2,7 @@ import { Fragment } from 'react';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
import HeaderContainer from '../features/account_timeline/containers/header_container';
|
||||
import {WhoToFollowPanel, SignUpPanel} from '../components/panel';
|
||||
import { WhoToFollowPanel, SignUpPanel } from '../components/panel';
|
||||
import LinkFooter from '../components/link_footer';
|
||||
import ProfileInfoPanel from '../features/account_timeline/components/profile_info_panel/profile_info_panel';
|
||||
import ColumnsArea from '../components/columns_area';
|
||||
@@ -37,12 +37,15 @@ class ProfilePage extends ImmutablePureComponent {
|
||||
static propTypes = {
|
||||
account: ImmutablePropTypes.map,
|
||||
accountUsername: PropTypes.string.isRequired,
|
||||
accountId: PropTypes.number.isRequired,
|
||||
accountId: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.number,
|
||||
]).isRequired,
|
||||
children: PropTypes.node,
|
||||
};
|
||||
|
||||
render () {
|
||||
const {accountId, account, accountUsername} = this.props;
|
||||
render() {
|
||||
const { accountId, account, accountUsername } = this.props;
|
||||
|
||||
return (
|
||||
<ColumnsArea
|
||||
|
||||
Reference in New Issue
Block a user