Refactor(map): Fix lint issues

This commit is contained in:
Berkeley Martinez
2016-06-21 11:50:58 -07:00
parent f7d420ec5b
commit 638a447026
4 changed files with 15 additions and 8 deletions

View File

@ -91,7 +91,7 @@ export class Block extends PureComponent {
<Panel
bsClass='map-accordion-panel-nested'
collapsible={ true }
expanded={ true }
expanded={ false }
header={
<div>
<h3><FA name='caret-right' />{ title }</h3>

View File

@ -54,7 +54,8 @@ export default class CodingPrep extends PureComponent {
<SuperBlock
blocks={ codingPrep }
message={ lockMessage }
title='Coding Interview Prep ' />
title='Coding Interview Prep '
/>
</div>
);
}

View File

@ -48,7 +48,8 @@ export default class FullStack extends PureComponent {
<SuperBlock
blocks={ [ nonprofitProjects ] }
message={ lockMessage }
title={ title } />
title={ title }
/>
);
}
}

View File

@ -27,7 +27,8 @@ export default class ShowMap extends PureComponent {
<SuperBlock
key={ superBlock.title }
updateCurrentChallenge={ updateCurrentChallenge }
{ ...superBlock }/>
{ ...superBlock }
/>
);
});
}
@ -52,13 +53,15 @@ export default class ShowMap extends PureComponent {
<div className='map-wrapper'>
<div
className='text-center map-fixed-header'
style={{ top: '50px' }}>
style={{ top: '50px' }}
>
<p>Challenges required for certifications are marked with a *</p>
<Row className='map-buttons'>
<Button
block={ true }
bsStyle='primary'
className='center-block'>
className='center-block'
>
Collapse all challenges
</Button>
</Row>
@ -70,13 +73,15 @@ export default class ShowMap extends PureComponent {
onChange={ updateFilter }
placeholder='Type a challenge name'
type='text'
value={ filter }/>
value={ filter }
/>
</Row>
<hr />
</div>
</div>
<div
className='map-accordion'>
className='map-accordion'
>
{ this.renderSuperBlocks(superBlocks, updateCurrentChallenge) }
<FullStack />
<CodingPrep />