@ -57,6 +57,11 @@ class CoursesBanner extends Component {
componentDidMount() {
this.onloadupdatabanner()
on('updatabanner', this.updatabanner)
if(this.props.match.path==="/courses/:coursesId"){
if(this.props.user!=undefined){
this.props.history.push(this.props.user.first_category_url)
}
axios.interceptors.response.use((response) => {
if (response != undefined)
if (response && response.data.status === 410) {