Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Commit 1d1a82a

Browse files
committed
Lint the code.
1 parent 84b5d96 commit 1d1a82a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ChipInput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class ChipInput extends React.Component {
158158
}
159159
}
160160

161-
const onAutocompleteItemClick = (event, child) => {
161+
const onAutocompleteItemClick = (event, child) => {
162162
const dataSource = this.autoComplete.props.dataSource
163163

164164
const index = parseInt(child.key, 10)
@@ -172,7 +172,7 @@ class ChipInput extends React.Component {
172172

173173
// Ensuring that ChipInput works with with Material-UI 0.19.1 and 0.20.0
174174
if (this.autoComplete.handleItemClick) {
175-
this.autoComplete.handleItemClick = onAutocompleteItemClick;
175+
this.autoComplete.handleItemClick = onAutocompleteItemClick
176176
} else {
177177
this.autoComplete.handleItemTouchTap = onAutocompleteItemClick
178178
}

0 commit comments

Comments
 (0)