From 572f58ea0421db152a59e882ffd5e148a85cb7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Fri, 31 Aug 2018 21:18:51 +0100 Subject: [PATCH] fix(ui): no need to wrap this --- ui/src/Components/Grid/AlertGrid/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/Components/Grid/AlertGrid/index.js b/ui/src/Components/Grid/AlertGrid/index.js index 80305e178..6d3cd9c18 100644 --- a/ui/src/Components/Grid/AlertGrid/index.js +++ b/ui/src/Components/Grid/AlertGrid/index.js @@ -82,9 +82,7 @@ const AlertGrid = observer( ref={this.storeMasonryRef} pack={true} sizes={GridSizesConfig} - loadMore={() => { - this.loadMore(); - }} + loadMore={this.loadMore} hasMore={ this.groupsToRender.value < Object.keys(alertStore.data.groups).length