Skip to content

Commit

Permalink
fix can't close Modal B
Browse files Browse the repository at this point in the history
  • Loading branch information
FollMoon04 authored and diasbruno committed Feb 1, 2019
1 parent 53dff4b commit d56e295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/basic/simple_usage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class SimpleUsage extends Component {
<h1 id="heading" ref={h1 => this.heading = h1}>This is the modal 2!</h1>
<div id="fulldescription" tabIndex="0" role="document">
<p>This is a description of what it does: nothing :)</p>
<button onClick={this.toggleModal(MODAL_B)}>close</button>
</div>
</Modal>
</div>
Expand Down

0 comments on commit d56e295

Please sign in to comment.