diff --git a/src/widgets/Xpert.jsx b/src/widgets/Xpert.jsx index 75591e7f..fd5b3375 100644 --- a/src/widgets/Xpert.jsx +++ b/src/widgets/Xpert.jsx @@ -7,7 +7,7 @@ import ToggleXpert from '../components/ToggleXpertButton'; import Sidebar from '../components/Sidebar'; import { ExperimentsProvider } from '../experiments'; -const Xpert = ({ courseId, contentToolsEnabled, unitId }) => { +const Xpert = ({ courseId, contentToolsEnabled, unitId, isUpgradeEligible }) => { const dispatch = useDispatch(); const { @@ -58,6 +58,7 @@ Xpert.propTypes = { courseId: PropTypes.string.isRequired, contentToolsEnabled: PropTypes.bool.isRequired, unitId: PropTypes.string.isRequired, + isUpgradeEligible: PropTypes.bool.isRequired, }; export default Xpert;