"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[64017],{81667:function(s,e,u){u.r(e),u.d(e,{default:function(){return a}});var n=u(59301),o=u(71418),c=u(24957),t=u(37712),l=function(){return(0,t.jsx)(o.Z,{size:"middle",className:c.Z.loading})},r=u(49389),a=(0,r.connect)((function(s){return{classroomList:s.classroomList}}))((function(s){var e=s.classroomList,u=(s.match,(0,r.useParams)()),o=(0,r.useLocation)(),c=e.detailLeftMenus;return(0,n.useEffect)((function(){var s,e;null==c||!c.course_modules||null!==(s=o.pathname)&&void 0!==s&&s.includes("students")||r.history.replace("/classrooms/".concat(u.coursesId,"/").concat(null==c||null===(e=c.course_modules)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.type))}),[null==c?void 0:c.course_modules,u.coursesId]),(0,t.jsx)(l,{})}))}}]);