src/components/downloads/DownloadDetailsAccordionBody.js
Function render
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { title } = this.props
const details = downloadDetails.find(e => e.title === title)
if (!details) return <div>TBD</div>
return (
Component should be written as a pure function Open
Open
class DownloadDetailsAccordionBody extends React.Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Dangerous property 'dangerouslySetInnerHTML' found Open
Open
dangerouslySetInnerHTML={{
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/