Skip to content

Commit

Permalink
fix: add defaultProps to containerProps
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Sep 19, 2024
1 parent 36c5fd8 commit a996f11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/studio-footer/StudioFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from '@openedx/paragon';
import { ExpandLess, ExpandMore, Help } from '@openedx/paragon/icons';
import classNames from 'classnames';
import PropTypes from 'prop-types';

import messages from './messages';

Expand Down Expand Up @@ -147,10 +148,11 @@ const StudioFooter = ({
};

StudioFooter.propTypes = {
containerProps: Container.propTypes,
containerProps: PropTypes.shape(Container.propTypes),
};

StudioFooter.defaultProps = {
containerProps: {},
};

export default StudioFooter;

0 comments on commit a996f11

Please sign in to comment.