fix: fix all frontend warnings (#983)

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings
This commit is contained in:
jakiuncle
2022-08-09 12:19:56 +08:00
committed by GitHub
parent deed857788
commit 4dd67a8dcb
7 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ class AffiliationSelect extends React.Component {
};
}
componentWillMount() {
UNSAFE_componentWillMount() {
this.getAddressOptions(this.props.application);
this.getAffiliationOptions(this.props.application, this.props.user);
}

View File

@ -30,7 +30,7 @@ class OAuthWidget extends React.Component {
};
}
componentWillMount() {
UNSAFE_componentWillMount() {
this.getAddressOptions(this.props.application);
this.getAffiliationOptions(this.props.application, this.props.user);
}