1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Cleanup & eslint fixes

This commit is contained in:
Vasek Mlejnsky 2018-08-21 08:09:51 +02:00
parent d69c26961b
commit 1fc12ca5f3
3 changed files with 4 additions and 5 deletions

View File

@ -138,14 +138,14 @@ export default class StickyContainer extends React.PureComponent<Props> {
render() { render() {
return ( return (
<aside <aside
ref={node => this.aside = node} ref={(node) => { this.aside = node; }}
onScroll={this.handleScroll} onScroll={this.handleScroll}
onTouchStart={this.handleScroll} onTouchStart={this.handleScroll}
onTouchMove={this.handleScroll} onTouchMove={this.handleScroll}
onTouchEnd={this.handleScroll} onTouchEnd={this.handleScroll}
> >
<StickyContainerWrapper <StickyContainerWrapper
ref={node => this.wrapper = node} ref={(node) => { this.wrapper = node; }}
> >
{this.props.children} {this.props.children}
</StickyContainerWrapper> </StickyContainerWrapper>

View File

@ -97,7 +97,6 @@ class LeftNavigation extends Component {
// TODO: refactor to transition component for reuse of transitions // TODO: refactor to transition component for reuse of transitions
getMenuTransition(children) { getMenuTransition(children) {
console.warn('GET MENU TRANSITION', this.state.animationType);
return ( return (
<TransitionGroupWrapper component="div" className="transition-container"> <TransitionGroupWrapper component="div" className="transition-container">
<CSSTransition <CSSTransition

View File

@ -508,9 +508,9 @@ aside {
// } // }
// } // }
.wallet-settings { // .wallet-settings {
} // }