Skip to content

Commit

Permalink
More isNavOpen cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lynamemi committed Jan 17, 2018
1 parent ed823f6 commit d8ac7de
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/fabric-website/src/components/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class App extends React.Component<IAppProps, any> {
}

public render() {
let { isNavOpen, navHeight } = this.state;
let { navHeight } = this.state;
let navTop: string = this.state.isAttached ? '0' : 'unset'
let navPosition: 'fixed' | 'absolute' = this.state.isAttached ? 'fixed' : 'absolute'
let navStyle = {
Expand All @@ -54,10 +54,7 @@ export class App extends React.Component<IAppProps, any> {

return (
<Fabric
className={ css(
'App',
isNavOpen && 'is-navOpen'
) }
className='App'
>
<div className='App-wrapper'>
<div
Expand Down

0 comments on commit d8ac7de

Please sign in to comment.