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

Fix querySelector error caused by accessing ref on a syled component

This commit is contained in:
Vasek Mlejnsky 2018-08-21 08:14:16 +02:00
parent 1fc12ca5f3
commit ef266a471d

View File

@ -145,7 +145,7 @@ export default class StickyContainer extends React.PureComponent<Props> {
onTouchEnd={this.handleScroll}
>
<StickyContainerWrapper
ref={(node) => { this.wrapper = node; }}
innerRef={(node) => { this.wrapper = node; }}
>
{this.props.children}
</StickyContainerWrapper>