Skip to content

Commit e894057

Browse files
author
Parth Shah
committed
fixing lint error
1 parent 067c389 commit e894057

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/FileList/FileListItem.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default class FileListItem extends React.Component {
3939
const title = this.refs.title.value
4040
const errors = this.validateForm()
4141
if (!_.isEmpty(errors)) {
42-
this.setState({ errors : errors })
42+
this.setState({ errors })
4343
} else {
44-
this.props.onSave(this.props.id, {title: title, description: this.refs.desc.value}, e)
44+
this.props.onSave(this.props.id, {title, description: this.refs.desc.value}, e)
4545
this.setState({isEditing: false})
4646
}
4747
}
@@ -63,7 +63,7 @@ export default class FileListItem extends React.Component {
6363
const errors = this.state.errors || {}
6464
this.validateTitle(errors)
6565
if (!_.isEmpty(errors)) {
66-
this.setState({ errors : errors })
66+
this.setState({ errors })
6767
}
6868
}
6969

src/components/TopBar/TopBarContainer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import TopBar from './TopBar'
88
import CreateView from '../../projects/create/components/CreateView'
99
import { TCEmitter } from '../../helpers'
1010
import {
11-
DOMAIN,
1211
ROLE_CONNECT_COPILOT,
1312
ROLE_CONNECT_MANAGER,
1413
ROLE_ADMINISTRATOR,

0 commit comments

Comments
 (0)