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'
|
className='navbar-toggler'
|
||||||
type='button'
|
type='button'
|
||||||
data-toggle='collapse'
|
data-toggle='collapse'
|
||||||
data-target='#navbar'
|
data-target='#mynavbar'
|
||||||
aria-controls='navbar'>
|
aria-controls='mynavbar'>
|
||||||
<span className='navbar-toggler-icon'></span>
|
<span className='navbar-toggler-icon'></span>
|
||||||
</button>
|
</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'>
|
<ul className='navbar-nav mr-auto mb-0 pb-0'>
|
||||||
{sub.map((elem, index) =>
|
{sub.map((elem, index) =>
|
||||||
<li key={index} className='nav-item'>
|
<li key={index} className='nav-item'>
|
||||||
|
|
Loading…
Reference in New Issue