Use setRef in notifications list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
40c3793d20
commit
308877ab7b
|
@ -172,6 +172,7 @@ class Notifications extends React.PureComponent {
|
||||||
|
|
||||||
const scrollContainer = (
|
const scrollContainer = (
|
||||||
<ScrollableList
|
<ScrollableList
|
||||||
|
ref={this.setRef}
|
||||||
scrollKey='notifications'
|
scrollKey='notifications'
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
showLoading={isLoading && notifications.size === 0}
|
showLoading={isLoading && notifications.size === 0}
|
||||||
|
|
Loading…
Reference in New Issue