mirror of
https://github.com/gosticks/react-table.git
synced 2026-07-01 10:00:03 +00:00
Pass standard linting
This commit is contained in:
@@ -393,15 +393,19 @@ export default React.createClass({
|
||||
if (isExpanded) {
|
||||
return this.setState({
|
||||
visibleSubComponents: [
|
||||
/* eslint-disable*/
|
||||
...visibleSubComponents.slice(0, visibleSubComponentIndex - 1),
|
||||
...visibleSubComponents.slice(visibleSubComponentIndex + 1)
|
||||
/* eslint-enable*/
|
||||
]
|
||||
})
|
||||
}
|
||||
this.setState({
|
||||
visibleSubComponents: [
|
||||
/* eslint-disable*/
|
||||
...visibleSubComponents,
|
||||
i
|
||||
/* eslint-enable*/
|
||||
]
|
||||
})
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user