fix: this.props.location undefined (#513)

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
This commit is contained in:
Yixiang Zhao
2022-02-26 18:39:24 +08:00
committed by GitHub
parent c58a6d8725
commit ddee97f544

View File

@ -18,7 +18,7 @@ import UserEditPage from "../UserEditPage";
class AccountPage extends React.Component { class AccountPage extends React.Component {
render() { render() {
return ( return (
<UserEditPage organizationName={this.props.account.owner} userName={this.props.account.name} account={this.props.account} /> <UserEditPage organizationName={this.props.account.owner} userName={this.props.account.name} account={this.props.account} location={this.props.location} />
) )
} }
} }