mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Reformated code to use 2-space indents
This commit is contained in:
parent
07049261e3
commit
39a78414eb
5 changed files with 78 additions and 78 deletions
|
@ -26,7 +26,7 @@ export default class MainHeader extends React.Component {
|
|||
|
||||
toggle() {
|
||||
this.setState({
|
||||
isOpen: ! this.state.isOpen
|
||||
isOpen: !this.state.isOpen
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -36,12 +36,12 @@ export default class MainHeader extends React.Component {
|
|||
<NavbarBrand href="https://shlink.io" target="_blank">
|
||||
<img src={shlinkLogo} alt="Shlink" className="main-header__brand-logo"/> Shlink
|
||||
</NavbarBrand>
|
||||
<NavbarToggler onClick={() => this.toggle()} />
|
||||
<NavbarToggler onClick={() => this.toggle()}/>
|
||||
<Collapse navbar isOpen={this.state.isOpen}>
|
||||
<Nav navbar className="ml-auto">
|
||||
<NavItem>
|
||||
<NavLink href="#">
|
||||
<FontAwesomeIcon icon={plusIcon} /> Add server
|
||||
<FontAwesomeIcon icon={plusIcon}/> Add server
|
||||
</NavLink>
|
||||
</NavItem>
|
||||
<UncontrolledDropdown nav>
|
||||
|
|
Loading…
Reference in a new issue