fix navbar
This commit is contained in:
parent
20ce7a606b
commit
50c7cb4483
|
@ -28,11 +28,11 @@ export default function Navbar({setStatus, main, sub}: NavbarProps) {
|
|||
className='navbar-toggler'
|
||||
type='button'
|
||||
data-toggle='collapse'
|
||||
data-target='#navbar'
|
||||
aria-controls='navbar'>
|
||||
data-target='#mynavbar'
|
||||
aria-controls='mynavbar'>
|
||||
<span className='navbar-toggler-icon'></span>
|
||||
</button>
|
||||
<div className='collapse navbar-collapse' id='navbar'>
|
||||
<div className='collapse navbar-collapse' id='mynavbar'>
|
||||
<ul className='navbar-nav mr-auto mb-0 pb-0'>
|
||||
{sub.map((elem, index) =>
|
||||
<li key={index} className='nav-item'>
|
||||
|
|
Loading…
Reference in New Issue