mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-19 03:25:29 +00:00
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:
parent
43c55027f9
commit
26468ffce4
2
ui/src/components/navbar.tsx
vendored
2
ui/src/components/navbar.tsx
vendored
@ -84,7 +84,7 @@ export class Navbar extends Component<any, NavbarState> {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <div>{this.navbar()}</div>;
|
||||
return this.navbar();
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
Loading…
Reference in New Issue
Block a user