Fix React warnings.

This commit is contained in:
Yang Luo
2021-03-27 11:38:15 +08:00
parent 2063f1d27d
commit 6c2c5be33d
16 changed files with 32 additions and 31 deletions

View File

@ -53,7 +53,7 @@ class AuthCallback extends React.Component {
}
}
componentWillMount() {
UNSAFE_componentWillMount() {
const params = new URLSearchParams(this.props.location.search);
const innerParams = this.getInnerParams();
const applicationName = innerParams.get("application");