client/hippo/workspace/navbar.jsx in hippo-fw-0.9.5 vs client/hippo/workspace/navbar.jsx in hippo-fw-0.9.6
- old
+ new
@@ -11,11 +11,10 @@
return url ?
<img alt={`${title} Logo`} src={`//${Config.api_host}${url}`} /> : <span>{title}</span>;
}
export default class Navbar extends React.Component {
-
static contextTypes = {
uistate: PropTypes.object.isRequired,
}
constructor(props) {
@@ -34,10 +33,10 @@
<div className="navbar-header">
<div className="navbar-brand logo"><Logo /></div>
<button className="screens-menu-toggle" onClick={this.switchMenu} type="button">
<span className="sr-only">
Toggle navbar
- </span>
+ </span>
<i className="icon" />
</button>
</div>
</div>
);