Fix null bug in getTermsofuseContent().

This commit is contained in:
Gucheng Wang 2022-06-26 09:34:01 +08:00
parent 7c9370ef90
commit 339c6c2dd0

View File

@ -98,7 +98,10 @@ class SignupPage extends React.Component {
this.setState({
application: application,
});
this.getTermsofuseContent(application.termsOfUse);
if (application !== null && application !== undefined) {
this.getTermsofuseContent(application.termsOfUse);
}
});
}