This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch omnibar
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/omnibar by this push:
new a0a7f57 remove ref
a0a7f57 is described below
commit a0a7f574386a82c60fcd9f9656abe3bf47939d67
Author: hughhhh <[email protected]>
AuthorDate: Thu Jan 31 15:24:47 2019 -0800
remove ref
---
superset/assets/src/components/OmniContainer.jsx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/superset/assets/src/components/OmniContainer.jsx
b/superset/assets/src/components/OmniContainer.jsx
index a00d71c..812f1d3 100644
--- a/superset/assets/src/components/OmniContainer.jsx
+++ b/superset/assets/src/components/OmniContainer.jsx
@@ -55,7 +55,6 @@ class OmniContainer extends React.Component {
showOmni: false,
};
this.handleKeydown = this.handleKeydown.bind(this);
- this.omniBar = React.createRef();
}
componentDidMount() {
@@ -93,7 +92,7 @@ class OmniContainer extends React.Component {
render() {
return (
<Modal show={this.state.showOmni} >
- <Omnibar className="Omnibar" placeholder="Search for dashboards.."
extensions={[getDashboards]} ref={this.omniBar} />
+ <Omnibar className="Omnibar" placeholder="Search for dashboards.."
extensions={[getDashboards]} />
</Modal>
);
}