Skip to content

Commit

Permalink
Fix(challenges): Bug cancel not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ltegman committed Sep 10, 2016
1 parent b20b52d commit 90833d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions common/app/routes/challenges/components/Bug-Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ export class BugModal extends PureComponent {
} = this.props;
return (
<Modal
onHide={ closeBugModal }
show={ isOpen }
>
<Modal.Header className='challenge-list-header'>
Did you find a bug?
<span className='close closing-x'>×</span>
<span
className='close closing-x'
onClick={ closeBugModal }
>
×
</span>
</Modal.Header>
<Modal.Body className='text-center'>
<h3>
Expand Down Expand Up @@ -67,6 +71,7 @@ export class BugModal extends PureComponent {
block={ true }
bsSize='lg'
bsStyle='primary'
onClick={ closeBugModal }
>
Cancel
</Button>
Expand Down

0 comments on commit 90833d4

Please sign in to comment.