feat: update related program location (#104)
This commit is contained in:
@@ -48,6 +48,10 @@ export const LoadedView = ({
|
||||
);
|
||||
};
|
||||
|
||||
LoadedView.defaultProps = {
|
||||
isControl: true,
|
||||
};
|
||||
|
||||
LoadedView.propTypes = {
|
||||
courses: PropTypes.arrayOf(PropTypes.shape({
|
||||
courseKey: PropTypes.string,
|
||||
@@ -55,7 +59,7 @@ LoadedView.propTypes = {
|
||||
logoImageUrl: PropTypes.string,
|
||||
marketingUrl: PropTypes.string,
|
||||
})).isRequired,
|
||||
isControl: PropTypes.oneOf([true, false, null]).isRequired,
|
||||
isControl: PropTypes.oneOf([true, false, null]),
|
||||
};
|
||||
|
||||
export default LoadedView;
|
||||
|
||||
@@ -65,6 +65,7 @@ exports[`RecommendationsPanel LoadedView snapshot with personalize recommendatio
|
||||
<Button
|
||||
as="a"
|
||||
href="course-search-url"
|
||||
iconBefore={[MockFunction icons.Search]}
|
||||
onClick={[MockFunction track.findCoursesWidgetClicked('course-search-url')]}
|
||||
variant="tertiary"
|
||||
>
|
||||
@@ -139,6 +140,7 @@ exports[`RecommendationsPanel LoadedView snapshot without personalize recommenda
|
||||
<Button
|
||||
as="a"
|
||||
href="course-search-url"
|
||||
iconBefore={[MockFunction icons.Search]}
|
||||
onClick={[MockFunction track.findCoursesWidgetClicked('course-search-url')]}
|
||||
variant="tertiary"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user