Skip to content

Commit

Permalink
[DDW-692] Improve stake pool list scroll ref check
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikGuzei committed Jun 8, 2021
1 parent 7e89e34 commit 5abddba
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -114,7 +114,9 @@ export const StakePoolsList = observer((props: StakePoolsListProps) => {
return (
<WindowScroller
scrollElement={
props.scrollElementRef ? props.scrollElementRef.current : window
props.scrollElementRef && props.scrollElementRef.current
? props.scrollElementRef.current
: window
}
>
{({ height, scrollTop, registerChild }) => (
Expand Down

0 comments on commit 5abddba

Please sign in to comment.