Reformated code to use 2-space indents

This commit is contained in:
Alejandro Celaya 2018-06-03 12:57:03 +02:00
parent 07049261e3
commit 39a78414eb
5 changed files with 78 additions and 78 deletions

View file

@ -26,7 +26,7 @@ export default class MainHeader extends React.Component {
toggle() { toggle() {
this.setState({ 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"> <NavbarBrand href="https://shlink.io" target="_blank">
<img src={shlinkLogo} alt="Shlink" className="main-header__brand-logo"/> Shlink <img src={shlinkLogo} alt="Shlink" className="main-header__brand-logo"/> Shlink
</NavbarBrand> </NavbarBrand>
<NavbarToggler onClick={() => this.toggle()} /> <NavbarToggler onClick={() => this.toggle()}/>
<Collapse navbar isOpen={this.state.isOpen}> <Collapse navbar isOpen={this.state.isOpen}>
<Nav navbar className="ml-auto"> <Nav navbar className="ml-auto">
<NavItem> <NavItem>
<NavLink href="#"> <NavLink href="#">
<FontAwesomeIcon icon={plusIcon} />&nbsp; Add server <FontAwesomeIcon icon={plusIcon}/>&nbsp; Add server
</NavLink> </NavLink>
</NavItem> </NavItem>
<UncontrolledDropdown nav> <UncontrolledDropdown nav>