File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ jest.mock('../outline-sidebar/OutlineSidebarContext', () => ({
3838const renderComponent = ( props ?: Partial < HeaderActionsProps > ) =>
3939 render (
4040 < HeaderActions
41- actions = { headerNavigationsActions }
4241 courseActions = { courseActions }
4342 headerNavigationsActions = { headerNavigationsActions }
4443 isReIndexShow
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ import { useOutlineSidebarContext } from '../outline-sidebar/OutlineSidebarConte
1818import messages from './messages' ;
1919
2020export interface HeaderActionsProps {
21- actions : {
22- lmsLink : string ;
23- } ;
2421 courseActions : XBlockActions ;
2522 headerNavigationsActions : {
2623 handleNewSection : ( ) => void ;
@@ -34,18 +31,16 @@ export interface HeaderActionsProps {
3431}
3532
3633const HeaderActions = ( {
37- actions,
3834 courseActions,
3935 headerNavigationsActions,
4036 isReIndexShow,
4137 isDisabledReindexButton,
4238 errors,
4339} : HeaderActionsProps ) => {
4440 const intl = useIntl ( ) ;
45- const { lmsLink } = actions ;
4641
4742 const { clearSelection, open, setCurrentPageKey } = useOutlineSidebarContext ( ) ;
48- const { handleReIndex } = headerNavigationsActions ;
43+ const { handleReIndex, lmsLink } = headerNavigationsActions ;
4944
5045 const handleCourseInfoClick = ( ) => {
5146 clearSelection ( ) ;
Original file line number Diff line number Diff line change @@ -329,8 +329,6 @@ describe('<SubsectionCard />', () => {
329329 expect ( useUnitFromLibraryButton ) . toBeInTheDocument ( ) ;
330330 await user . click ( useUnitFromLibraryButton ) ;
331331
332- screen . logTestingPlaygroundURL ( ) ;
333-
334332 expect ( startCurrentFlow ) . toHaveBeenCalledWith ( {
335333 flowType : ContainerType . Unit ,
336334 parentLocator : 'block-v1:UNIX+UX1+2025_T3+type@subsection+block@0' ,
You can’t perform that action at this time.
0 commit comments