Skip to content

Commit

Permalink
feature(fix): fix hounci error
Browse files Browse the repository at this point in the history
  • Loading branch information
Musigwa committed May 9, 2019
1 parent dd9aecb commit 3ae80e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/common/AppBars/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ export class Navbar extends Component {
this.wrapperRef = node;
};

setSearchPopOverRef = node => {
this.searchPopOverRef = node;
};

handleClickOutside = event => {
if (this.wrapperRef && !this.wrapperRef.contains(event.target)) {
this.setState(() => ({ isNotificationOpen: false }));
}
};

setSearchPopOverRef = node => {
this.searchPopOverRef = node;
};

handleEnterPress = e => {
const { searchQuery, fetchResults: searchArticles, history } = this.props;
if (isEmpty(searchQuery)) {
Expand Down

0 comments on commit 3ae80e4

Please sign in to comment.