mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 01:37: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() {
|
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} /> Add server
|
<FontAwesomeIcon icon={plusIcon}/> Add server
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</NavItem>
|
</NavItem>
|
||||||
<UncontrolledDropdown nav>
|
<UncontrolledDropdown nav>
|
||||||
|
|
Loading…
Reference in a new issue