Last analyzed 73e26eb 3 months ago
Default analysis branch is
Currently analyzing run
Use valid anchors JS-0739
3 months ago4 months old
Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more:
51          </ul>
52          <ul className="navbar-nav ms-auto mb-2 mb-lg-0">
53            <li className="nav-item dropdown" id="userDropdownMenu">
54              <a55                className="nav-link dropdown-toggle"56                href="#"57                id="navbarDropdown"58                role="button"59                data-bs-toggle="dropdown"60                aria-expanded="false"61                onClick={(e) => e.preventDefault()}62              >63                <FontAwesomeIcon icon={user.sys_admin ? faUserNinja : faUser} />{" "}
64                {user.username}
65              </a>