1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-03-01 08:52:24 +00:00

acquire screen: aside css

This commit is contained in:
Szymon Lesisz 2018-05-15 12:20:48 +02:00
parent 692e7788fd
commit 0b273391ba

View File

@ -100,6 +100,7 @@ export default class StickyContainer extends React.PureComponent<Props> {
componentDidMount() { componentDidMount() {
window.addEventListener('scroll', this.handleScroll); window.addEventListener('scroll', this.handleScroll);
window.addEventListener('resize', this.handleScroll); window.addEventListener('resize', this.handleScroll);
raf(this.update);
} }
componentWillUnmount() { componentWillUnmount() {