Add block scoping to challenges url

This commit is contained in:
Berkeley Martinez
2016-06-09 16:02:51 -07:00
parent 91dc3625d9
commit acf4d99f67
15 changed files with 139 additions and 45 deletions

View File

@@ -21,7 +21,8 @@ export default class SuperBlock extends PureComponent {
return (
<Block
key={ block.title }
{ ...block } />
{ ...block }
/>
);
});
}
@@ -35,7 +36,8 @@ export default class SuperBlock extends PureComponent {
expanded={ true }
header={ <h2><FA name='caret-right' />{ title }</h2> }
id={ title }
key={ title }>
key={ title }
>
{
message ?
<div className='challenge-block-description'>
@@ -44,7 +46,8 @@ export default class SuperBlock extends PureComponent {
''
}
<div
className='map-accordion-block'>
className='map-accordion-block'
>
{ this.renderBlocks(blocks) }
</div>
</Panel>