Skip to content

Commit

Permalink
Update packages/material-ui/src/useAutocomplete/useAutocomplete.js
Browse files Browse the repository at this point in the history
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
  • Loading branch information
sujinleeme and oliviertassinari authored Oct 29, 2020
1 parent 645d58d commit c46f5a1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export default function useAutocomplete(props) {
const [focusedTag, setFocusedTag] = React.useState(-1);
const defaultHighlighted = autoHighlight ? 0 : -1;
const highlightedIndexRef = React.useRef(defaultHighlighted);
const [focusedIndex, setFocusedIndex] = React.useState(defaultHighlighted);

const [value, setValueState] = useControlled({
controlled: valueProp,
Expand Down

0 comments on commit c46f5a1

Please sign in to comment.