mirror of
https://github.com/trezor/trezor-wallet
synced 2025-02-17 18:42:01 +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}
|
onTouchEnd={this.handleScroll}
|
||||||
>
|
>
|
||||||
<StickyContainerWrapper
|
<StickyContainerWrapper
|
||||||
ref={(node) => { this.wrapper = node; }}
|
innerRef={(node) => { this.wrapper = node; }}
|
||||||
>
|
>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</StickyContainerWrapper>
|
</StickyContainerWrapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user