Fixed failing tests, these weren't flaky tests... ooops!

This commit is contained in:
orangemug 2018-06-03 18:28:55 +01:00
parent 1fe31ac0ec
commit cd28a53f6a

View file

@ -507,13 +507,13 @@ export default class App extends React.Component {
/>
<SettingsModal
mapStyle={this.state.mapStyle}
onStyleChanged={this.onStyleChanged}
onStyleChanged={this.onStyleChanged.bind(this)}
isOpen={this.state.isOpen.settings}
onOpenToggle={this.toggleModal.bind(this, 'settings')}
/>
<ExportModal
mapStyle={this.state.mapStyle}
onStyleChanged={this.onStyleChanged}
onStyleChanged={this.onStyleChanged.bind(this)}
isOpen={this.state.isOpen.export}
onOpenToggle={this.toggleModal.bind(this, 'export')}
/>
@ -524,7 +524,7 @@ export default class App extends React.Component {
/>
<SourcesModal
mapStyle={this.state.mapStyle}
onStyleChanged={this.onStyleChanged}
onStyleChanged={this.onStyleChanged.bind(this)}
isOpen={this.state.isOpen.sources}
onOpenToggle={this.toggleModal.bind(this, 'sources')}
/>