From 5f581d7c3c1a93cd8816e9f11cf8f7cef7c3478f Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 11 Dec 2018 18:51:01 +0100 Subject: [PATCH] [Glitch] Fix LoadMore usage in account media gallery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Even though that codepath is probably never actually used…) --- .../flavours/glitch/features/account_gallery/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/account_gallery/index.js b/app/javascript/flavours/glitch/features/account_gallery/index.js index 53b906d16..0405af2c3 100644 --- a/app/javascript/flavours/glitch/features/account_gallery/index.js +++ b/app/javascript/flavours/glitch/features/account_gallery/index.js @@ -35,7 +35,7 @@ class LoadMoreMedia extends ImmutablePureComponent { return ( ); } @@ -124,6 +124,7 @@ export default class AccountGallery extends ImmutablePureComponent { 0 ? medias.getIn(index - 1, 'id') : null} + onLoadMore={this.handleLoadMore} /> ) : (