Quick fix to add slice to other routes using TabContainer (#235)

This commit is contained in:
Dillon Dumesnil
2020-10-06 11:57:18 -07:00
committed by GitHub
parent f6aebc7d29
commit 36f8dd81cd

View File

@@ -37,17 +37,17 @@ subscribe(APP_READY, () => {
<Switch>
<Route path="/redirect" component={CoursewareRedirectLandingPage} />
<Route path="/course/:courseId/home">
<TabContainer tab="outline" fetch={fetchOutlineTab}>
<TabContainer tab="outline" fetch={fetchOutlineTab} slice="courseHome">
<OutlineTab />
</TabContainer>
</Route>
<Route path="/course/:courseId/dates">
<TabContainer tab="dates" fetch={fetchDatesTab}>
<TabContainer tab="dates" fetch={fetchDatesTab} slice="courseHome">
<DatesTab />
</TabContainer>
</Route>
<Route path="/course/:courseId/progress">
<TabContainer tab="progress" fetch={fetchProgressTab}>
<TabContainer tab="progress" fetch={fetchProgressTab} slice="courseHome">
<ProgressTab />
</TabContainer>
</Route>