Refactor(map): Fix lint issues
This commit is contained in:
@ -91,7 +91,7 @@ export class Block extends PureComponent {
|
|||||||
<Panel
|
<Panel
|
||||||
bsClass='map-accordion-panel-nested'
|
bsClass='map-accordion-panel-nested'
|
||||||
collapsible={ true }
|
collapsible={ true }
|
||||||
expanded={ true }
|
expanded={ false }
|
||||||
header={
|
header={
|
||||||
<div>
|
<div>
|
||||||
<h3><FA name='caret-right' />{ title }</h3>
|
<h3><FA name='caret-right' />{ title }</h3>
|
||||||
|
@ -54,7 +54,8 @@ export default class CodingPrep extends PureComponent {
|
|||||||
<SuperBlock
|
<SuperBlock
|
||||||
blocks={ codingPrep }
|
blocks={ codingPrep }
|
||||||
message={ lockMessage }
|
message={ lockMessage }
|
||||||
title='Coding Interview Prep ' />
|
title='Coding Interview Prep '
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,8 @@ export default class FullStack extends PureComponent {
|
|||||||
<SuperBlock
|
<SuperBlock
|
||||||
blocks={ [ nonprofitProjects ] }
|
blocks={ [ nonprofitProjects ] }
|
||||||
message={ lockMessage }
|
message={ lockMessage }
|
||||||
title={ title } />
|
title={ title }
|
||||||
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,8 @@ export default class ShowMap extends PureComponent {
|
|||||||
<SuperBlock
|
<SuperBlock
|
||||||
key={ superBlock.title }
|
key={ superBlock.title }
|
||||||
updateCurrentChallenge={ updateCurrentChallenge }
|
updateCurrentChallenge={ updateCurrentChallenge }
|
||||||
{ ...superBlock }/>
|
{ ...superBlock }
|
||||||
|
/>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -52,13 +53,15 @@ export default class ShowMap extends PureComponent {
|
|||||||
<div className='map-wrapper'>
|
<div className='map-wrapper'>
|
||||||
<div
|
<div
|
||||||
className='text-center map-fixed-header'
|
className='text-center map-fixed-header'
|
||||||
style={{ top: '50px' }}>
|
style={{ top: '50px' }}
|
||||||
|
>
|
||||||
<p>Challenges required for certifications are marked with a *</p>
|
<p>Challenges required for certifications are marked with a *</p>
|
||||||
<Row className='map-buttons'>
|
<Row className='map-buttons'>
|
||||||
<Button
|
<Button
|
||||||
block={ true }
|
block={ true }
|
||||||
bsStyle='primary'
|
bsStyle='primary'
|
||||||
className='center-block'>
|
className='center-block'
|
||||||
|
>
|
||||||
Collapse all challenges
|
Collapse all challenges
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
@ -70,13 +73,15 @@ export default class ShowMap extends PureComponent {
|
|||||||
onChange={ updateFilter }
|
onChange={ updateFilter }
|
||||||
placeholder='Type a challenge name'
|
placeholder='Type a challenge name'
|
||||||
type='text'
|
type='text'
|
||||||
value={ filter }/>
|
value={ filter }
|
||||||
|
/>
|
||||||
</Row>
|
</Row>
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className='map-accordion'>
|
className='map-accordion'
|
||||||
|
>
|
||||||
{ this.renderSuperBlocks(superBlocks, updateCurrentChallenge) }
|
{ this.renderSuperBlocks(superBlocks, updateCurrentChallenge) }
|
||||||
<FullStack />
|
<FullStack />
|
||||||
<CodingPrep />
|
<CodingPrep />
|
||||||
|
Reference in New Issue
Block a user