Merge pull request #1569 from jsit/fix/non-list-item-in-navbar

fix(a11y): Fix non-list item being inside ul list in navbar
This commit is contained in:
SleeplessOne1917 2023-06-25 04:43:05 +00:00 committed by GitHub
commit 5b2ef112b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -347,7 +347,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
</li>
)}
{person && (
<div id="dropdownUser" className="dropdown">
<li id="dropdownUser" className="dropdown">
<button
type="button"
className="btn dropdown-toggle"
@ -398,7 +398,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
</button>
</li>
</ul>
</div>
</li>
)}
</>
) : (