Skip to content

Commit a996f11

Browse files
committed
fix: add defaultProps to containerProps
1 parent 36c5fd8 commit a996f11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/studio-footer/StudioFooter.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
} from '@openedx/paragon';
1414
import { ExpandLess, ExpandMore, Help } from '@openedx/paragon/icons';
1515
import classNames from 'classnames';
16+
import PropTypes from 'prop-types';
1617

1718
import messages from './messages';
1819

@@ -147,10 +148,11 @@ const StudioFooter = ({
147148
};
148149

149150
StudioFooter.propTypes = {
150-
containerProps: Container.propTypes,
151+
containerProps: PropTypes.shape(Container.propTypes),
151152
};
152153

153154
StudioFooter.defaultProps = {
155+
containerProps: {},
154156
};
155157

156158
export default StudioFooter;

0 commit comments

Comments
 (0)