more comments

This commit is contained in:
Spectralitree 2021-06-26 23:06:22 +02:00
parent 8da031a128
commit 5ce7a74d28

View File

@ -24,6 +24,7 @@ const Navbar = ({ setIsSubmit, forceUpdate}) => {
pk-webs pk-webs
</BS.Navbar.Brand> </BS.Navbar.Brand>
<BS.NavDropdown id="menu" className="mr-auto" title="Menu"> <BS.NavDropdown id="menu" className="mr-auto" title="Menu">
{/* for some reason just using react router's link elements doesn't work here, maybe look into that */}
<BS.NavDropdown.Item onClick={() => history.push('/pk-webs/dash')} >Dash</BS.NavDropdown.Item> <BS.NavDropdown.Item onClick={() => history.push('/pk-webs/dash')} >Dash</BS.NavDropdown.Item>
<BS.NavDropdown.Item onClick={() => history.push('/pk-webs/settings')} >Settings</BS.NavDropdown.Item> <BS.NavDropdown.Item onClick={() => history.push('/pk-webs/settings')} >Settings</BS.NavDropdown.Item>
<BS.NavDropdown.Item onClick={() => history.push('/pk-webs/profile')}>Public profile</BS.NavDropdown.Item> <BS.NavDropdown.Item onClick={() => history.push('/pk-webs/profile')}>Public profile</BS.NavDropdown.Item>