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:
parent
1fc12ca5f3
commit
ef266a471d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user