diff --git a/src/pages/CoursePageViewWithVideo/index.js b/src/pages/CoursePageViewWithVideo/index.js index 320dfbdb..c12ab939 100644 --- a/src/pages/CoursePageViewWithVideo/index.js +++ b/src/pages/CoursePageViewWithVideo/index.js @@ -117,11 +117,7 @@ function TabPanel(props) { aria-labelledby={`full-width-tab-${index}`} {...other} > - {value === index && ( - - {children} - - )} + {value === index && {children}} ); }