|
|
@ -275,6 +275,11 @@ class App extends Component {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
window.location.href = "/";
|
|
|
|
window.location.href = "/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ModalshowCancelsy=()=>{
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
mydisplay:true,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
};
|
|
|
|
componentDidMount() {
|
|
|
|
componentDidMount() {
|
|
|
|
// force an update if the URL changes
|
|
|
|
// force an update if the URL changes
|
|
|
|
history.listen(() => {
|
|
|
|
history.listen(() => {
|
|
|
@ -327,7 +332,7 @@ class App extends Component {
|
|
|
|
<Trialapplicationreview {...this.props} {...this.state}></Trialapplicationreview>
|
|
|
|
<Trialapplicationreview {...this.props} {...this.state}></Trialapplicationreview>
|
|
|
|
<Addcourses {...this.props} {...this.state} HideAddcoursestypess={(i)=>this.HideAddcoursestypess(i)}/>
|
|
|
|
<Addcourses {...this.props} {...this.state} HideAddcoursestypess={(i)=>this.HideAddcoursestypess(i)}/>
|
|
|
|
<AccountProfile {...this.props} {...this.state} />
|
|
|
|
<AccountProfile {...this.props} {...this.state} />
|
|
|
|
<Certifiedprofessional {...this.props} {...this.state} ModalCancelsy={this.ModalCancelsy}/>
|
|
|
|
<Certifiedprofessional {...this.props} {...this.state} ModalCancelsy={this.ModalCancelsy} ModalshowCancelsy={this.ModalshowCancelsy}/>
|
|
|
|
<Router>
|
|
|
|
<Router>
|
|
|
|
<Switch>
|
|
|
|
<Switch>
|
|
|
|
|
|
|
|
|
|
|
|