render() {
    if (this.state.loading) {
      return <ConfigLoadingMessage/>;
    } else if (this.state.isError) {
      return <ConfigLoadingErrorMessage/>;
    }

    return (<div className="rh-padded">
      <ClassCalendar config={this.state.config}/>
    </div>);
  }
// Render loading, error or the app via routes
Render loading, error or the app via routes
Render loading error or the app via routes
render() {
    if (this.state.loading) {
      return <ConfigLoadingMessage/>;
    } else if (this.state.isError) {
      return <ConfigLoadingErrorMessage/>;
    }
    return (<div className="rh-padded">
      <ClassCalendar config={this.state.config}/>
    </div>);
  }
render ( ) { if ( this . state . loading ) { return < ConfigLoadingMessage / > ; } else if ( this . state . isError ) { return < ConfigLoadingErrorMessage / > ; } return ( < div className = "rh-padded" > < ClassCalendar config = { this . state . config } / > < / div > ) ; }
Render loading, error or the app via routes
Render loading error or the app via routes