Fixing the lint error messages in javascript using 'eslint --fix'

command.
This commit is contained in:
Ashesh Vashi
2017-11-30 13:00:25 +05:30
parent ea82d92e41
commit d54c35d74f
6 changed files with 141 additions and 141 deletions

View File

@@ -92,10 +92,10 @@ export default class QueryHistory extends React.Component {
render() {
return (
<SplitPane defaultSize='50%' split='vertical' pane1Style={queryEntryListDivStyle}
pane2Style={queryDetailDivStyle}>
pane2Style={queryDetailDivStyle}>
<QueryHistoryEntries historyEntries={this.state.history}
selectedEntry={this.state.selectedEntry}
onSelectEntry={this.selectHistoryEntry}
selectedEntry={this.state.selectedEntry}
onSelectEntry={this.selectHistoryEntry}
/>
<QueryHistoryDetail historyEntry={this.state.currentHistoryDetail}/>
</SplitPane>);

View File

@@ -91,10 +91,10 @@ export default class QueryHistoryEntries extends React.Component {
return (
entriesGroupedByDate[key].map((entry, index) =>
<li key={`group-${parentIndex}-entry-${index}`}
className='list-item'
tabIndex={0}
onClick={() => this.props.onSelectEntry(startingEntryIndex + index)}
onKeyDown={this.navigateUpAndDown}>
className='list-item'
tabIndex={0}
onClick={() => this.props.onSelectEntry(startingEntryIndex + index)}
onKeyDown={this.navigateUpAndDown}>
<QueryHistoryEntry
historyEntry={entry}
isSelected={(startingEntryIndex + index) === this.props.selectedEntry}/>
@@ -143,7 +143,7 @@ export default class QueryHistoryEntries extends React.Component {
render() {
return (
<div id='query_list'
className="query-history">
className="query-history">
{this.retrieveGroups()}
</div>
);