prefer an empty React Fragment to an empty div

This commit is contained in:
Michael Bradley, Jr 2018-10-24 14:54:47 -05:00
parent 56177346df
commit d861b0b1af
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class AppContainer extends Component {
if (this.shouldRenderLogin()) {
return <Login credentials={this.props.credentials} authenticate={this.props.authenticate} error={this.props.authenticationError} />;
} else if (this.props.credentials.authenticating) {
return <div></div>;
return <React.Fragment/>;
}
return (
<Layout location={this.props.location}