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.
1 parent 3d50ac0 commit 67710b3Copy full SHA for 67710b3
client/src/components/Header/index.tsx
@@ -43,9 +43,7 @@ export class Header extends React.Component<
43
if (
44
this.state.displayMenu &&
45
this.menuButtonRef.current &&
46
- !this.menuButtonRef.current.contains(event.target) &&
47
- this.searchBarRef.current &&
48
- !this.searchBarRef.current.contains(event.target)
+ !this.menuButtonRef.current.contains(event.target)
49
) {
50
this.toggleDisplayMenu();
51
}
0 commit comments