File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ HeaderBody.propTypes = {
164164 } ) ) ,
165165 outlineLink : PropTypes . string ,
166166 searchButtonAction : PropTypes . func ,
167- containerProps : Container . propTypes ,
167+ containerProps : PropTypes . shape ( Container . propTypes ) ,
168168} ;
169169
170170HeaderBody . defaultProps = {
@@ -184,6 +184,7 @@ HeaderBody.defaultProps = {
184184 mainMenuDropdowns : [ ] ,
185185 outlineLink : null ,
186186 searchButtonAction : null ,
187+ containerProps : { } ,
187188} ;
188189
189190export default HeaderBody ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
33import Responsive from 'react-responsive' ;
44import { AppContext } from '@edx/frontend-platform/react' ;
55import { ensureConfig } from '@edx/frontend-platform' ;
6+ import { Container } from '@openedx/paragon' ;
67
78import MobileHeader from './MobileHeader' ;
89import HeaderBody from './HeaderBody' ;
@@ -71,6 +72,7 @@ StudioHeader.propTypes = {
7172StudioHeader . defaultProps = {
7273 number : '' ,
7374 org : '' ,
75+ containerProps : { } ,
7476 isHiddenMainMenu : false ,
7577 mainMenuDropdowns : [ ] ,
7678 outlineLink : null ,
You can’t perform that action at this time.
0 commit comments