@twreporter/universal-header
Advanced tools
Comparing version 2.0.3-beta-7 to 2.0.3
@@ -80,3 +80,3 @@ "use strict"; | ||
_this.handleOnHamburgerClick = _this._handleOnHamburgerClick.bind(_assertThisInitialized(_assertThisInitialized(_this))); | ||
_this.handleMenuClick = _this._handleMenuClick.bind(_assertThisInitialized(_assertThisInitialized(_this))); | ||
_this.closeMenu = _this._closeMenu.bind(_assertThisInitialized(_assertThisInitialized(_this))); | ||
return _this; | ||
@@ -93,4 +93,4 @@ } | ||
}, { | ||
key: "_handleMenuClick", | ||
value: function _handleMenuClick() { | ||
key: "_closeMenu", | ||
value: function _closeMenu() { | ||
this.setState({ | ||
@@ -111,3 +111,3 @@ toSlideDown: false | ||
data: menu, | ||
handleClick: this.handleMenuClick | ||
handleClick: this.closeMenu | ||
}); | ||
@@ -127,3 +127,3 @@ | ||
}, _react.default.createElement(_customizedLink.default, _extends({}, _links.default.getLogoLink(isLinkExternal, releaseBranch), { | ||
onClick: _this2.handleMenuClick | ||
onClick: _this2.closeMenu | ||
}), _react.default.createElement(Logo, null)), _react.default.createElement(Hamburger, { | ||
@@ -130,0 +130,0 @@ onClick: _this2.handleOnHamburgerClick |
{ | ||
"name": "@twreporter/universal-header", | ||
"version": "2.0.3-beta-7", | ||
"version": "2.0.3", | ||
"description": "Universal header of TWReporter sites", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
157384