@@ -28,7 +28,6 @@ import DraggableList, { SortableItem } from '@src/generic/DraggableList';
2828import ErrorAlert from '@src/editors/sharedComponents/ErrorAlerts/ErrorAlert' ;
2929import { RequestStatus } from '@src/data/constants' ;
3030import { useModels } from '@src/generic/model-store' ;
31- import { useWaffleFlags } from '@src/data/apiHooks' ;
3231import getPageHeadTitle from '@src/generic/utils' ;
3332import { getPagePath } from '@src/utils' ;
3433import { DeprecatedReduxState } from '@src/store' ;
@@ -70,8 +69,6 @@ const CustomPages = () => {
7069 const deletePageStatus = useSelector ( ( state : DeprecatedReduxState ) => state . customPages . deletingStatus ) ;
7170 const savingStatus = useSelector ( getSavingStatus ) ;
7271 const loadingStatus = useSelector ( getLoadingStatus ) ;
73- const waffleFlags = useWaffleFlags ( courseId ) ;
74-
7572 const pages = useModels ( 'customPages' , customPagesIds ) ;
7673
7774 const handleAddPage = ( ) => {
@@ -128,9 +125,7 @@ const CustomPages = () => {
128125 links = { [
129126 {
130127 label : 'Content' ,
131- to : waffleFlags . useNewCourseOutlinePage
132- ? `/course/${ courseId } `
133- : `${ config . STUDIO_BASE_URL } /course/${ courseId } ` ,
128+ to : `/course/${ courseId } ` ,
134129 } ,
135130 { label : 'Pages and Resources' , to : getPagePath ( courseId , 'true' , 'tabs' ) } ,
136131 ] }
0 commit comments