diff --git a/src/components/ProjectSearch/TextSearch.js b/src/components/ProjectSearch/TextSearch.js index 452ecbd9ac..eefa6e663e 100644 --- a/src/components/ProjectSearch/TextSearch.js +++ b/src/components/ProjectSearch/TextSearch.js @@ -31,7 +31,6 @@ export default class TextSearch extends Component { } async onKeyDown(e) { - console.log(e.key); if (e.key !== "Enter") { return; } @@ -50,7 +49,7 @@ export default class TextSearch extends Component { } selectMatchItem(matchItem) { - this.props.selectSource(matchItem.sourceId); + this.props.selectSource(matchItem.sourceId, { line: matchItem.line }); } renderFile(file, focused, expanded, setExpanded) {