Implement public/private routing
This commit is contained in:
@@ -16,13 +16,11 @@ export default function NavBar({ title }) {
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
{/* This hidden nav is a hack to have the title perfectly centered. */}
|
||||
<Nav style={{ visibility: 'hidden' }}>
|
||||
{/* This hidden nav is a hack to have the title perfectly centered. */}
|
||||
<MenuDropdown />
|
||||
</Nav>
|
||||
<div>
|
||||
<h3>{title}</h3>
|
||||
</div>
|
||||
<MenuDropdown />
|
||||
</Navbar.Body>
|
||||
</Navbar>
|
||||
|
||||
Reference in New Issue
Block a user