fix(client): address new warnings from linter

This commit is contained in:
Mrugesh Mohapatra
2020-10-12 00:19:13 +05:30
committed by Mrugesh Mohapatra
parent ee9b180349
commit e666419a8f
7 changed files with 12 additions and 12 deletions

View File

@ -16,11 +16,11 @@ function CertificationIcon() {
<path <path
d='M239 303.14L310.43 248.57L381.86 303.14L354.57 391.43L266.28 391.43L239 303.14Z' d='M239 303.14L310.43 248.57L381.86 303.14L354.57 391.43L266.28 391.43L239 303.14Z'
id='aZt9D86Ps' id='aZt9D86Ps'
></path> />
<path <path
d='M327.11 393.59L344.3 496.78L309.91 479.58L275.51 496.78L292.71 393.59L327.11 393.59Z' d='M327.11 393.59L344.3 496.78L309.91 479.58L275.51 496.78L292.71 393.59L327.11 393.59Z'
id='b7LyrCUAE' id='b7LyrCUAE'
></path> />
</defs> </defs>
<g> <g>
<g> <g>
@ -29,7 +29,7 @@ function CertificationIcon() {
fillOpacity='0' fillOpacity='0'
opacity='1' opacity='1'
xlinkHref='#aZt9D86Ps' xlinkHref='#aZt9D86Ps'
></use> />
<g> <g>
<use <use
fillOpacity='0' fillOpacity='0'
@ -38,7 +38,7 @@ function CertificationIcon() {
strokeOpacity='1' strokeOpacity='1'
strokeWidth='14' strokeWidth='14'
xlinkHref='#aZt9D86Ps' xlinkHref='#aZt9D86Ps'
></use> />
</g> </g>
</g> </g>
<g> <g>
@ -47,7 +47,7 @@ function CertificationIcon() {
fillOpacity='0' fillOpacity='0'
opacity='1' opacity='1'
xlinkHref='#b7LyrCUAE' xlinkHref='#b7LyrCUAE'
></use> />
<g> <g>
<use <use
fillOpacity='0' fillOpacity='0'
@ -56,7 +56,7 @@ function CertificationIcon() {
strokeOpacity='1' strokeOpacity='1'
strokeWidth='14' strokeWidth='14'
xlinkHref='#b7LyrCUAE' xlinkHref='#b7LyrCUAE'
></use> />
</g> </g>
</g> </g>
</g> </g>

View File

@ -173,7 +173,7 @@ export function ShowSettings(props) {
return ( return (
<Fragment> <Fragment>
<Helmet title='Settings | freeCodeCamp.org'></Helmet> <Helmet title='Settings | freeCodeCamp.org' />
<Grid> <Grid>
<main> <main>
<Spacer size={2} /> <Spacer size={2} />

View File

@ -42,7 +42,7 @@ function Flash({ flashMessage, onClose }) {
style={{ style={{
height: flashMessageHeight + 'px' height: flashMessageHeight + 'px'
}} }}
></div> />
)} )}
</> </>
); );

View File

@ -294,7 +294,7 @@ function Footer() {
</div> </div>
<div className='footer-buttom'> <div className='footer-buttom'>
<div className='col-header'>Our Nonprofit</div> <div className='col-header'>Our Nonprofit</div>
<div className='footer-divder'></div> <div className='footer-divder' />
<div className='our-nonprofit'> <div className='our-nonprofit'>
<Link <Link
external={false} external={false}

View File

@ -29,7 +29,7 @@ class CertificationLayout extends Component {
return ( return (
<Fragment> <Fragment>
<Helmet bodyAttributes={{ class: 'light-palette' }}></Helmet> <Helmet bodyAttributes={{ class: 'light-palette' }} />
{children} {children}
</Fragment> </Fragment>
); );

View File

@ -27,7 +27,7 @@ class PrismFormatted extends Component {
className={className} className={className}
dangerouslySetInnerHTML={{ __html: text }} dangerouslySetInnerHTML={{ __html: text }}
ref={this.instructionsRef} ref={this.instructionsRef}
></div> />
); );
} }
} }

View File

@ -243,7 +243,7 @@ export class Project extends Component {
/>{' '} />{' '}
<span className='video-quiz-input-visible'> <span className='video-quiz-input-visible'>
{this.state.selectedOption === index ? ( {this.state.selectedOption === index ? (
<span className='video-quiz-selected-input'></span> <span className='video-quiz-selected-input' />
) : null} ) : null}
</span> </span>
<PrismFormatted <PrismFormatted