summaryrefslogtreecommitdiffstats
path: root/ui/src/components/navbar.tsx
diff options
context:
space:
mode:
authorRichie Zhang <12566991+StaticallyTypedRice@users.noreply.github.com>2020-01-30 16:07:01 -0800
committerGitHub <noreply@github.com>2020-01-30 16:07:01 -0800
commit26468ffce4dda4e006ee6fd27182048710a5129e (patch)
tree07a2be0c5dce259cfd752e6c7e407b126f05d9ae /ui/src/components/navbar.tsx
parent43c55027f918b518382cf2ec63ff2ca99bb05ac9 (diff)
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.
Diffstat (limited to 'ui/src/components/navbar.tsx')
-rw-r--r--ui/src/components/navbar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx
index 1828fce9..eccc8116 100644
--- a/ui/src/components/navbar.tsx
+++ b/ui/src/components/navbar.tsx
@@ -84,7 +84,7 @@ export class Navbar extends Component<any, NavbarState> {
}
render() {
- return <div>{this.navbar()}</div>;
+ return this.navbar();
}
componentWillUnmount() {