We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10b374d + 0f3f0c1 commit 801e201Copy full SHA for 801e201
app/components/Search/search.jsx
@@ -1,4 +1,4 @@
1
-import { Component } from "react";
+import React, { Component } from "react";
2
import { observer } from 'mobx-react'
3
import subscribeToSearch from 'commons/Search/subscribeToSearch'
4
import state from 'commons/Search/state'
@@ -78,12 +78,6 @@ class SearchPanel extends Component {
78
subscribeToSearch()
79
}
80
81
- componentWillUnmount() {
82
- if (config.searchSocketConnected) {
83
- api.searchWorkspaceDown()
84
- }
85
86
-
87
onKeyDown = (e) => {
88
if (e.keyCode === 13) {
89
this.searchTxt()
0 commit comments