Skip to content

Commit abc4574

Browse files
committed
Fix auto focus on QueryForm mount.
1 parent 9baa297 commit abc4574

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/QueryForm.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export class QueryForm extends React.Component<IQueryFormProps, {}> {
3636
this.onSubmit = this.onSubmit.bind(this);
3737
this.searchInput = null;
3838
this.setSearchInputRef = element => {
39-
console.log("QueryForm/setSearchInputRef", element);
4039
this.searchInput = element;
4140
};
4241
}
@@ -60,7 +59,6 @@ export class QueryForm extends React.Component<IQueryFormProps, {}> {
6059

6160
public componentDidMount() {
6261
if (this.props.queryFormAutoFocus) {
63-
console.log("QueryForm/componentDidMount searchInput", this.searchInput);
6462
this.searchInput.focus();
6563
}
6664
}

0 commit comments

Comments
 (0)