diff --git a/src/screens/Classroom/Header/index.js b/src/screens/Classroom/Header/index.js index 134f5ac..6a4a1a8 100644 --- a/src/screens/Classroom/Header/index.js +++ b/src/screens/Classroom/Header/index.js @@ -18,6 +18,7 @@ function Header({ classroom, selectedTabOption, onSelectTabOption, + isLoading, }) { const { title, paper, tabs, avatar, tooltip } = styles[layoutType]; return classroom === null ? ( @@ -46,7 +47,11 @@ function Header({ sx={tabs} > {Object.values(TAB_OPTIONS).map(option => ( - + ))} diff --git a/src/screens/Classroom/View.js b/src/screens/Classroom/View.js index add5469..675e697 100644 --- a/src/screens/Classroom/View.js +++ b/src/screens/Classroom/View.js @@ -15,6 +15,7 @@ function View({ announcementsTabData, assignmentsTabData, peopleTabData, + isLoading, }) { const { container } = styles[layoutType]; return ( @@ -24,6 +25,7 @@ function View({ classroom={classroom} selectedTabOption={selectedTabOption} onSelectTabOption={onSelectTabOption} + isLoading={isLoading} /> ); }