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:
parent
d69c26961b
commit
1fc12ca5f3
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -508,9 +508,9 @@ aside {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
.wallet-settings {
|
// .wallet-settings {
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user