mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 20:01:06 +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
1 changed files with 1 additions and 1 deletions
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 a new issue