Use setRef in notifications list

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-05-21 07:55:51 +02:00
parent 40c3793d20
commit 308877ab7b
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class Notifications extends React.PureComponent {
const scrollContainer = (
<ScrollableList
ref={this.setRef}
scrollKey='notifications'
isLoading={isLoading}
showLoading={isLoading && notifications.size === 0}