Remove empty div tag containing the navbar.

In preliminary, the appearance and behavior of the navbar was not affected when the `<nav>` element was not wrapped, and an empty `<div>` element doesn't do anything anyway. I'm also pretty sure that the `<nav>` tag in HTML5 is basically a div with a fancy name, so it can do everything a div can.
This commit is contained in:
Richie Zhang 2020-01-30 16:07:01 -08:00 committed by GitHub
parent 000e1c8660
commit 41ac10f75e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ export class Navbar extends Component<any, NavbarState> {
}
render() {
return <div>{this.navbar()}</div>;
return this.navbar();
}
componentWillUnmount() {