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 = (
|
||||
<ScrollableList
|
||||
ref={this.setRef}
|
||||
scrollKey='notifications'
|
||||
isLoading={isLoading}
|
||||
showLoading={isLoading && notifications.size === 0}
|
||||
|
|
Loading…
Reference in New Issue