]> Untitled Git - lemmy.git/commitdiff
Switching back to hash router
authorDessalines <tyhou13@gmx.com>
Mon, 29 Apr 2019 01:30:52 +0000 (18:30 -0700)
committerDessalines <tyhou13@gmx.com>
Mon, 29 Apr 2019 01:30:52 +0000 (18:30 -0700)
ui/src/components/navbar.tsx

index 88d270e177edff3fca22e01e01dda94117c3a4e8..00ba56048dc933aab4e6d5466d902b2a2267230c 100644 (file)
@@ -63,10 +63,10 @@ export class Navbar extends Component<any, NavbarState> {
   navbar() {
     return (
       <nav class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3">
-        <a title={version} class="navbar-brand" href="#">
+        <Link title={version} class="navbar-brand" to="/">
           <svg class="icon mr-2"><use xlinkHref="#icon-mouse"></use></svg>
           Lemmy
-        </a>
+        </Link>
         <button class="navbar-toggler" type="button" onClick={linkEvent(this, this.expandNavbar)}>
           <span class="navbar-toggler-icon"></span>
         </button>