@ -258,8 +258,8 @@ class NewHeader extends Component {
}
NewCoursesAndShixuns=(sum)=>{
debugger
if(this.state.current_user&&this.state.current_user.login=== ""||this.state.current_user&&this.state.current_user===null){
if(this.props.user&&this.props.user.login=== ""||this.props.user&&this.props.user===null){
window.location.href = "/login";
}else{
if(sum===1){