You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried this app to deploy in jboss server, it deployed but when I load the page it loads only the header and footer , doesn't load Router part. My modified App.jsx is here
I tried this app to deploy in jboss server, it deployed but when I load the page it loads only the header and footer , doesn't load Router part. My modified App.jsx is here
render() { const { alert } = this.props; return ( <div> <nav style={{ backgroundColor: "#BFBFBF" }}> <div className="container-fluid"> <div className="navbar-brand"> <div className="navbar-header" >System Administration Portal</div> </div> </div> </nav> <div className="col-sm-8 col-sm-offset-2"> {alert.message && <div className={
alert ${alert.type}}>{alert.message}</div> } <Router history={history}> <div> <PrivateRoute exact path="/" component={HomePage} /> <Route path="/login" component={LoginPage} /> {/*<Route path="/register" component={RegisterPage} />*/} </div> </Router> </div> <footer className="navbar-fixed-bottom" style={{ backgroundColor: "#BFBFBF" }}> <div className="container"> <div className="row"> </div> </div> </footer> </div> ); }
The text was updated successfully, but these errors were encountered: