-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated frontend-build to v12 #270
Changes from 2 commits
303429f
1bdbdaf
8828608
2e880dc
2550b1d
0b05d2a
ee83ad8
eb3c507
85c35cd
174b230
7c1d304
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ | |
}, | ||
"devDependencies": { | ||
"@edx/browserslist-config": "1.1.0", | ||
"@edx/frontend-build": "11.0.1", | ||
"@edx/frontend-build": "^12.0.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: keep |
||
"@edx/frontend-platform": "1.15.6", | ||
"@edx/paragon": "19.25.1", | ||
"@fortawesome/free-solid-svg-icons": "5.8.1", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ import React from 'react'; | |
import { Link } from 'react-router-dom'; | ||
import PropTypes from 'prop-types'; | ||
|
||
const SearchSuggestionItem = ({ | ||
function SearchSuggestionItem({ | ||
url, suggestionItemHandler, hit, disableSuggestionRedirect, | ||
}) => { | ||
}) { | ||
const authoringOrganization = hit.key && hit.key.split('+')[0]; | ||
// If the disable redirect bool is provided, prevent the redirect from happening and instead call the provided submit | ||
// handler | ||
|
@@ -36,7 +36,7 @@ const SearchSuggestionItem = ({ | |
} | ||
</Link> | ||
); | ||
}; | ||
} | ||
|
||
SearchSuggestionItem.propTypes = { | ||
url: PropTypes.string.isRequired, | ||
|
@@ -45,7 +45,7 @@ SearchSuggestionItem.propTypes = { | |
key: PropTypes.string, | ||
title: PropTypes.string, | ||
program_type: PropTypes.string, | ||
authoring_organizations: PropTypes.array, | ||
authoring_organizations: PropTypes.shape([]), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Related, is this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
_highlightResult: PropTypes.shape({ title: PropTypes.shape({ value: PropTypes.string }) }), | ||
}).isRequired, | ||
disableSuggestionRedirect: PropTypes.bool.isRequired, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we pin the version?