From a996f116b07a32e9401dc83f429de23e46513b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Thu, 19 Sep 2024 09:50:51 -0300 Subject: [PATCH] fix: add defaultProps to containerProps --- src/components/studio-footer/StudioFooter.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/studio-footer/StudioFooter.jsx b/src/components/studio-footer/StudioFooter.jsx index d5a11c170..ddb0745d7 100644 --- a/src/components/studio-footer/StudioFooter.jsx +++ b/src/components/studio-footer/StudioFooter.jsx @@ -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'; @@ -147,10 +148,11 @@ const StudioFooter = ({ }; StudioFooter.propTypes = { - containerProps: Container.propTypes, + containerProps: PropTypes.shape(Container.propTypes), }; StudioFooter.defaultProps = { + containerProps: {}, }; export default StudioFooter;