|
|
|
@ -344,16 +344,16 @@ class CoursesBanner extends Component {
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let { Addcoursestypes, coursedata, modalsType, modalsTopval, loadtype,modalsBottomval,antIcon,user_phone_binded} = this.state;
|
|
|
|
|
try {
|
|
|
|
|
if(this.props.current_user!==undefined){
|
|
|
|
|
this.setState({
|
|
|
|
|
user_phone_binded :this.props.current_user.user_phone_binded,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}catch (e) {
|
|
|
|
|
console.log("CoursesBanner 354")
|
|
|
|
|
console.log(e)
|
|
|
|
|
}
|
|
|
|
|
// try {
|
|
|
|
|
// if(this.props.current_user!==undefined){
|
|
|
|
|
// this.setState({
|
|
|
|
|
// user_phone_binded :this.props.current_user.user_phone_binded,
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
// }catch (e) {
|
|
|
|
|
// console.log("CoursesBanner 354")
|
|
|
|
|
// console.log(e)
|
|
|
|
|
// }
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<Trialapplication {...this.state} user_phone_binded={user_phone_binded} ></Trialapplication>
|
|
|
|
|