Fix warning about nested button tag

This commit is contained in:
Anthony Laibe 2018-10-10 14:40:25 +01:00 committed by Pascal Precht
parent f5ac131d93
commit ef2a88336b
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const Layout = ({children, logout, credentials, location}) => (
<i className="fa fa-user fa-3x" /> <i className="fa fa-user fa-3x" />
</DropdownToggle> </DropdownToggle>
<DropdownMenu right style={{ right: 'auto' }}> <DropdownMenu right style={{ right: 'auto' }}>
<DropdownItem><button className="btn btn-link" onClick={logout}><i className="fa fa-lock"></i> Logout</button></DropdownItem> <DropdownItem onClick={logout}><i className="fa fa-lock"></i> Logout</DropdownItem>
</DropdownMenu> </DropdownMenu>
</AppHeaderDropdown> </AppHeaderDropdown>
</Nav> </Nav>