Updated frontend-build to v12 (#962)

* feat: rebase previous frontend-build upgrade

* chore: make welcome message to default to empty
This commit is contained in:
Bilal Qamar
2023-01-30 22:20:07 +05:00
committed by GitHub
parent b500546e8d
commit b3d33667d4
164 changed files with 847 additions and 798 deletions

View File

@@ -8,12 +8,12 @@ import { Button } from '@edx/paragon';
import messages from './messages';
function ContentLock({
const ContentLock = ({
intl, courseId, prereqSectionName, prereqId, sequenceTitle,
}) {
}) => {
const handleClick = useCallback(() => {
history.push(`/course/${courseId}/${prereqId}`);
});
}, [courseId, prereqId]);
return (
<>
@@ -33,7 +33,7 @@ function ContentLock({
</p>
</>
);
}
};
ContentLock.propTypes = {
intl: intlShape.isRequired,
courseId: PropTypes.string.isRequired,