update error handling logic, add empty check for validateTree

This commit is contained in:
Unknown
2018-11-19 14:40:55 +00:00
parent e7036277f9
commit 3d42942a5c
3 changed files with 63 additions and 60 deletions

View File

@@ -28,7 +28,7 @@ class Dashboard extends React.Component {
componentDidMount() {
if (!this.props.app.isMobile) {
this.props.actions.fetchDomain()
.then((domain) => this.props.actions.updateDomain(domain));
.then((domain) => this.props.actions.updateDomain(domain))
}
}