Resolves #583 -- fix function binding

This commit is contained in:
Peter Cottle 2019-06-05 15:19:21 -07:00
parent 42e2b2429a
commit a506d3d907

View file

@ -33,11 +33,11 @@ class MainHelperBarView extends React.Component {
/>
<CommandsHelperBarView
shown={this.state.shownBar === BARS.COMMANDS}
onExit={this.showSelf}
onExit={this.showSelf.bind(this)}
/>
<IntlHelperBarView
shown={this.state.shownBar === BARS.INTL}
onExit={this.showSelf}
onExit={this.showSelf.bind(this)}
/>
</div>
);