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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user